#392289#392289

#392289 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.160 H 285.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#392289
RGBrgb(57, 34, 137)
HSLhsl(253, 60%, 34%)
HSVhsv(253, 75%, 54%)
CMYKcmyk(58.4%, 75.2%, 0%, 46.3%)
CIE-LABlab(23.07, 38.91, -53.53)
CIE-LCHlch(23.07, 66.18, 306.01°)
OKLaboklab(35.39% 0.0415 -0.1541)
OKLCHoklch(35.39% 0.16 285.1)
XYZxyz(6.7734, 3.8197, 24.0424)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392289 #728922
analogous
#223E89 #392289 #6C2289
triadic
#392289 #893922 #228939
tetradic
#392289 #89223E #728922 #22896C
square
#392289 #89223E #728922 #22896C
split-complementary
#392289 #896C22 #3E8922
monochromatic
#100A27 #251658 #392289 #4D2EBA #6F51D4

Accessibility & contrast

On white

11.90
#392289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#392289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392289
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392289#FFFFFF#000000##FFFFFF
##3922891.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#113E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392289;
/* rgb */ color: rgb(57, 34, 137);
/* oklch */ color: oklch(35.4% 0.160 285.1);
Tailwind
colors: {
  custom: {
    50: '#7960ac',
    500: '#392289',
    950: '#000000',
  },
}
SCSS
$custom: #392289;
$custom-light: #7960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392289",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 253.398,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.1596,
    "h": 285.1
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#392289
secondary
#A0B84F
accent
#E344C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392289

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

Preview Lab → · Contrast checker → · Palette generator →

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