#392685#392685

#392685 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.150 H 285.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#392685
RGBrgb(57, 38, 133)
HSLhsl(252, 56%, 34%)
HSVhsv(252, 71%, 52%)
CMYKcmyk(57.1%, 71.4%, 0%, 47.8%)
CIE-LABlab(23.50, 35.37, -50.31)
CIE-LCHlch(23.50, 61.50, 305.11°)
OKLaboklab(35.59% 0.0389 -0.1447)
OKLCHoklch(35.59% 0.15 285)
XYZxyz(6.6128, 3.9492, 22.5996)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392685 #728526
analogous
#264285 #392685 #682685
triadic
#392685 #853926 #268539
tetradic
#392685 #852642 #728526 #268568
square
#392685 #852642 #728526 #268568
split-complementary
#392685 #856826 #428526
monochromatic
#100B26 #251855 #392685 #4D34B5 #6F57CF

Accessibility & contrast

On white

11.73
#392685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#392685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392685
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392685#FFFFFF#000000##FFFFFF
##3926851.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#163F52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392685;
/* rgb */ color: rgb(57, 38, 133);
/* oklch */ color: oklch(35.6% 0.150 285.0);
Tailwind
colors: {
  custom: {
    50: '#7862a9',
    500: '#392685',
    950: '#000000',
  },
}
SCSS
$custom: #392685;
$custom-light: #7862a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392685",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.14983,
    "h": 285
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#392685
secondary
#A0B353
accent
#DF49C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392685

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

Preview Lab → · Contrast checker → · Palette generator →

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