#392388#392388

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

Color values

HEX#392388
RGBrgb(57, 35, 136)
HSLhsl(253, 59%, 34%)
HSVhsv(253, 74%, 53%)
CMYKcmyk(58.1%, 74.3%, 0%, 46.7%)
CIE-LABlab(23.17, 38.04, -52.74)
CIE-LCHlch(23.17, 65.03, 305.81°)
OKLaboklab(35.44% 0.0409 -0.1518)
OKLCHoklch(35.44% 0.157 285.1)
XYZxyz(6.7310, 3.8491, 23.6760)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392388 #728823
analogous
#233F88 #392388 #6B2388
triadic
#392388 #883923 #238839
tetradic
#392388 #88233F #728823 #23886B
square
#392388 #88233F #728823 #23886B
split-complementary
#392388 #886B23 #3F8823
monochromatic
#100A27 #251657 #392388 #4D30B9 #6F53D3

Accessibility & contrast

On white

11.87
#392388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#392388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392388
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392388#FFFFFF#000000##FFFFFF
##3923881.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#123E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392388;
/* rgb */ color: rgb(57, 35, 136);
/* oklch */ color: oklch(35.4% 0.157 285.1);
Tailwind
colors: {
  custom: {
    50: '#7960ac',
    500: '#392388',
    950: '#000000',
  },
}
SCSS
$custom: #392388;
$custom-light: #7960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392388",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 253.069,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.15722,
    "h": 285.1
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#392388
secondary
#A0B750
accent
#E246C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392388

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

Preview Lab → · Contrast checker → · Palette generator →

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