#392B66#392B66

#392B66 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.8% C 0.100 H 291.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#392B66
RGBrgb(57, 43, 102)
HSLhsl(254, 41%, 28%)
HSVhsv(254, 58%, 40%)
CMYKcmyk(44.1%, 57.8%, 0%, 60%)
CIE-LABlab(22.15, 22.27, -32.69)
CIE-LCHlch(22.15, 39.56, 304.26°)
OKLaboklab(33.81% 0.0358 -0.0929)
OKLCHoklch(33.81% 0.1 291)
XYZxyz(4.9488, 3.5568, 12.9936)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392B66 #58662B
analogous
#2B3A66 #392B66 #562B66
triadic
#392B66 #66392B #2B6639
tetradic
#392B66 #662B3A #58662B #2B6656
square
#392B66 #662B3A #58662B #2B6656
split-complementary
#392B66 #66562B #3A662B
monochromatic
#0C0916 #21193B #392B66 #513D91 #6C54B7

Accessibility & contrast

On white

12.27
#392B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#392B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392B66
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392B66#FFFFFF#000000##FFFFFF
##392B661.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3668
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#2D3844
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392b66;
/* rgb */ color: rgb(57, 43, 102);
/* oklch */ color: oklch(33.8% 0.100 291.0);
Tailwind
colors: {
  custom: {
    50: '#736492',
    500: '#392b66',
    950: '#000000',
  },
}
SCSS
$custom: #392b66;
$custom-light: #736492;
$custom-dark: #000000;
JSON
{
  "hex": "#392b66",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 254.237,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.09956,
    "h": 291
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#392B66
secondary
#889855
accent
#D157B4
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #392B66

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

Preview Lab → · Contrast checker → · Palette generator →

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