#392185#392185

#392185 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.156 H 286.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#392185
RGBrgb(57, 33, 133)
HSLhsl(254, 60%, 33%)
HSVhsv(254, 75%, 52%)
CMYKcmyk(57.1%, 75.2%, 0%, 47.8%)
CIE-LABlab(22.48, 38.22, -51.98)
CIE-LCHlch(22.48, 64.52, 306.32°)
OKLaboklab(34.86% 0.0433 -0.1496)
OKLCHoklch(34.86% 0.156 286.1)
XYZxyz(6.4636, 3.6507, 22.5498)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392185 #6D8521
analogous
#213B85 #392185 #6B2185
triadic
#392185 #853921 #218539
tetradic
#392185 #85213B #6D8521 #21856B
square
#392185 #85213B #6D8521 #21856B
split-complementary
#392185 #856B21 #3B8521
monochromatic
#0F0923 #241554 #392185 #4E2DB6 #6D4DD3

Accessibility & contrast

On white

12.14
#392185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#392185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392185
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392185#FFFFFF#000000##FFFFFF
##3921851.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#163C51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392185;
/* rgb */ color: rgb(57, 33, 133);
/* oklch */ color: oklch(34.9% 0.156 286.1);
Tailwind
colors: {
  custom: {
    50: '#785fa9',
    500: '#392185',
    950: '#000000',
  },
}
SCSS
$custom: #392185;
$custom-light: #785fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#392185",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 254.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.15572,
    "h": 286.1
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#392185
secondary
#9DB64C
accent
#E344BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392185

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

Preview Lab → · Contrast checker → · Palette generator →

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