#392085#392085

#392085 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.157 H 286.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#392085
RGBrgb(57, 32, 133)
HSLhsl(255, 61%, 32%)
HSVhsv(255, 76%, 52%)
CMYKcmyk(57.1%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.29, 38.76, -52.30)
CIE-LCHlch(22.29, 65.10, 306.55°)
OKLaboklab(34.73% 0.0441 -0.1505)
OKLCHoklch(34.73% 0.157 286.3)
XYZxyz(6.4362, 3.5960, 22.5407)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392085 #6C8520
analogous
#203A85 #392085 #6B2085
triadic
#392085 #853920 #208539
tetradic
#392085 #85203A #6C8520 #20856B
square
#392085 #85203A #6C8520 #20856B
split-complementary
#392085 #856B20 #3A8520
monochromatic
#0F0822 #241454 #392085 #4E2CB6 #6D4CD4

Accessibility & contrast

On white

12.21
#392085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#392085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##392085#FFFFFF#000000##FFFFFF
##3920851.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)
#003888
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#173C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392085;
/* rgb */ color: rgb(57, 32, 133);
/* oklch */ color: oklch(34.7% 0.157 286.3);
Tailwind
colors: {
  custom: {
    50: '#795ea9',
    500: '#392085',
    950: '#000000',
  },
}
SCSS
$custom: #392085;
$custom-light: #795ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#392085",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 254.851,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.15683,
    "h": 286.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#392085
secondary
#9CB74A
accent
#E443BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #392085

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

Preview Lab → · Contrast checker → · Palette generator →

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