#392B68#392B68

#392B68 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.0% C 0.103 H 290.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#392B68
RGBrgb(57, 43, 104)
HSLhsl(254, 41%, 29%)
HSVhsv(254, 59%, 41%)
CMYKcmyk(45.2%, 58.7%, 0%, 59.2%)
CIE-LABlab(22.29, 22.91, -33.76)
CIE-LCHlch(22.29, 40.80, 304.16°)
OKLaboklab(33.96% 0.0358 -0.0961)
OKLCHoklch(33.96% 0.103 290.5)
XYZxyz(5.0492, 3.5969, 13.5223)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392B68 #5A682B
analogous
#2B3C68 #392B68 #582B68
triadic
#392B68 #68392B #2B6839
tetradic
#392B68 #682B3C #5A682B #2B6858
square
#392B68 #682B3C #5A682B #2B6858
split-complementary
#392B68 #68582B #3C682B
monochromatic
#0C0916 #21193D #392B68 #513D93 #6C55B9

Accessibility & contrast

On white

12.21
#392B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#392B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392B68
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392B68#FFFFFF#000000##FFFFFF
##392B681.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#0E3467
Tritanopia (blue-blind)
#2C3845
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392b68;
/* rgb */ color: rgb(57, 43, 104);
/* oklch */ color: oklch(34.0% 0.103 290.5);
Tailwind
colors: {
  custom: {
    50: '#736593',
    500: '#392b68',
    950: '#000000',
  },
}
SCSS
$custom: #392b68;
$custom-light: #736593;
$custom-dark: #000000;
JSON
{
  "hex": "#392b68",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 253.77,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.10253,
    "h": 290.5
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#392B68
secondary
#8A9A55
accent
#D156B5
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #392B68

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

Preview Lab → · Contrast checker → · Palette generator →

#392B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva