#392167#392167

#392167 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.1% C 0.117 H 294.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#392167
RGBrgb(57, 33, 103)
HSLhsl(261, 51%, 27%)
HSVhsv(261, 68%, 40%)
CMYKcmyk(44.7%, 68%, 0%, 59.6%)
CIE-LABlab(19.79, 28.98, -37.15)
CIE-LCHlch(19.79, 47.12, 307.96°)
OKLaboklab(32.1% 0.0488 -0.106)
OKLCHoklch(32.1% 0.117 294.7)
XYZxyz(4.6787, 2.9367, 13.1497)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392167 #4F6721
analogous
#212C67 #392167 #5C2167
triadic
#392167 #673921 #216739
tetradic
#392167 #67212C #4F6721 #21675C
square
#392167 #67212C #4F6721 #21675C
split-complementary
#392167 #675C21 #2C6721
monochromatic
#0D0717 #1F1239 #392167 #533095 #6D40C2

Accessibility & contrast

On white

13.23
#392167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#392167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392167
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392167#FFFFFF#000000##FFFFFF
##3921671.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#2D3140
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #392167;
/* rgb */ color: rgb(57, 33, 103);
/* oklch */ color: oklch(32.1% 0.117 294.7);
Tailwind
colors: {
  custom: {
    50: '#745e93',
    500: '#392167',
    950: '#000000',
  },
}
SCSS
$custom: #392167;
$custom-light: #745e93;
$custom-dark: #000000;
JSON
{
  "hex": "#392167",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 260.571,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32103,
    "c": 0.11674,
    "h": 294.7
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#392167
secondary
#7F9B49
accent
#DB4DAA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #392167

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

Preview Lab → · Contrast checker → · Palette generator →

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