#392673#392673

#392673 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.126 H 289.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#392673
RGBrgb(57, 38, 115)
HSLhsl(255, 50%, 30%)
HSVhsv(255, 67%, 45%)
CMYKcmyk(50.4%, 67%, 0%, 54.9%)
CIE-LABlab(21.92, 29.64, -41.47)
CIE-LCHlch(21.92, 50.97, 305.55°)
OKLaboklab(33.96% 0.0416 -0.1187)
OKLCHoklch(33.96% 0.126 289.3)
XYZxyz(5.4741, 3.4937, 16.6022)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392673 #607326
analogous
#263A73 #392673 #5F2673
triadic
#392673 #733926 #267339
tetradic
#392673 #73263A #607326 #26735F
square
#392673 #73263A #607326 #26735F
split-complementary
#392673 #735F26 #3A7326
monochromatic
#0B0817 #221745 #392673 #5035A1 #6C4FC5

Accessibility & contrast

On white

12.36
#392673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#392673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392673
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392673#FFFFFF#000000##FFFFFF
##3926731.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#263848
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392673;
/* rgb */ color: rgb(57, 38, 115);
/* oklch */ color: oklch(34.0% 0.126 289.3);
Tailwind
colors: {
  custom: {
    50: '#75619c',
    500: '#392673',
    950: '#000000',
  },
}
SCSS
$custom: #392673;
$custom-light: #75619c;
$custom-dark: #000000;
JSON
{
  "hex": "#392673",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 254.805,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.1258,
    "h": 289.3
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#392673
secondary
#90A64F
accent
#DA4EB7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392673

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#392673 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva