#392489#392489

#392489 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.157 H 284.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#392489
RGBrgb(57, 36, 137)
HSLhsl(252, 58%, 34%)
HSVhsv(252, 74%, 54%)
CMYKcmyk(58.4%, 73.7%, 0%, 46.3%)
CIE-LABlab(23.46, 37.80, -52.88)
CIE-LCHlch(23.46, 65.00, 305.56°)
OKLaboklab(35.68% 0.0398 -0.1522)
OKLCHoklch(35.68% 0.157 284.7)
XYZxyz(6.8322, 3.9373, 24.0620)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392489 #748924
analogous
#244289 #392489 #6C2489
triadic
#392489 #893924 #248939
tetradic
#392489 #892442 #748924 #24896C
square
#392489 #892442 #748924 #24896C
split-complementary
#392489 #896C24 #428924
monochromatic
#110B28 #251759 #392489 #4D31B9 #6F55D2

Accessibility & contrast

On white

11.75
#392489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#392489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392489
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392489#FFFFFF#000000##FFFFFF
##3924891.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#103F54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392489;
/* rgb */ color: rgb(57, 36, 137);
/* oklch */ color: oklch(35.7% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#7961ac',
    500: '#392489',
    950: '#000000',
  },
}
SCSS
$custom: #392489;
$custom-light: #7961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392489",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 252.475,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35676,
    "c": 0.15734,
    "h": 284.7
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#392489
secondary
#A2B752
accent
#E246C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392489

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

Preview Lab → · Contrast checker → · Palette generator →

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