#392186#392186

#392186 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.157 H 285.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#392186
RGBrgb(57, 33, 134)
HSLhsl(254, 60%, 33%)
HSVhsv(254, 75%, 53%)
CMYKcmyk(57.5%, 75.4%, 0%, 47.5%)
CIE-LABlab(22.58, 38.53, -52.45)
CIE-LCHlch(22.58, 65.08, 306.30°)
OKLaboklab(34.96% 0.043 -0.1509)
OKLCHoklch(34.96% 0.157 285.9)
XYZxyz(6.5330, 3.6784, 22.9154)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392186 #6E8621
analogous
#213C86 #392186 #6B2186
triadic
#392186 #863921 #218639
tetradic
#392186 #86213C #6E8621 #21866B
square
#392186 #86213C #6E8621 #21866B
split-complementary
#392186 #866B21 #3C8621
monochromatic
#0F0924 #241555 #392186 #4E2DB7 #6E4ED3

Accessibility & contrast

On white

12.10
#392186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392186
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392186#FFFFFF#000000##FFFFFF
##3921861.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#153D51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392186;
/* rgb */ color: rgb(57, 33, 134);
/* oklch */ color: oklch(35.0% 0.157 285.9);
Tailwind
colors: {
  custom: {
    50: '#795faa',
    500: '#392186',
    950: '#000000',
  },
}
SCSS
$custom: #392186;
$custom-light: #795faa;
$custom-dark: #000000;
JSON
{
  "hex": "#392186",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 254.257,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.15696,
    "h": 285.9
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#392186
secondary
#9DB74C
accent
#E444BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392186

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

Preview Lab → · Contrast checker → · Palette generator →

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