#392488#392488

#392488 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.156 H 284.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#392488
RGBrgb(57, 36, 136)
HSLhsl(253, 58%, 34%)
HSVhsv(253, 74%, 53%)
CMYKcmyk(58.1%, 73.5%, 0%, 46.7%)
CIE-LABlab(23.37, 37.48, -52.41)
CIE-LCHlch(23.37, 64.43, 305.57°)
OKLaboklab(35.58% 0.0401 -0.1509)
OKLCHoklch(35.58% 0.156 284.9)
XYZxyz(6.7608, 3.9088, 23.6860)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392488 #738824
analogous
#244188 #392488 #6B2488
triadic
#392488 #883924 #248839
tetradic
#392488 #882441 #738824 #24886B
square
#392488 #882441 #738824 #24886B
split-complementary
#392488 #886B24 #418824
monochromatic
#100A27 #251758 #392488 #4D31B8 #6F55D2

Accessibility & contrast

On white

11.79
#392488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392488
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392488#FFFFFF#000000##FFFFFF
##3924881.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#123F53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392488;
/* rgb */ color: rgb(57, 36, 136);
/* oklch */ color: oklch(35.6% 0.156 284.9);
Tailwind
colors: {
  custom: {
    50: '#7961ac',
    500: '#392488',
    950: '#000000',
  },
}
SCSS
$custom: #392488;
$custom-light: #7961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392488",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 252.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35579,
    "c": 0.15608,
    "h": 284.9
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#392488
secondary
#A1B652
accent
#E146C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392488

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

Preview Lab → · Contrast checker → · Palette generator →

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