#392097#392097

#392097 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.179 H 282.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#392097
RGBrgb(57, 32, 151)
HSLhsl(253, 65%, 36%)
HSVhsv(253, 79%, 59%)
CMYKcmyk(62.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(24.12, 44.25, -60.48)
CIE-LCHlch(24.12, 74.94, 306.19°)
OKLaboklab(36.56% 0.0392 -0.1744)
OKLCHoklch(36.56% 0.179 282.7)
XYZxyz(7.7880, 4.1367, 29.6602)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392097 #7E9720
analogous
#204297 #392097 #742097
triadic
#392097 #973920 #209739
tetradic
#392097 #972042 #7E9720 #209774
square
#392097 #972042 #7E9720 #209774
split-complementary
#392097 #977420 #429720
monochromatic
#130B32 #261564 #392097 #4C2BC9 #7256DB

Accessibility & contrast

On white

11.49
#392097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392097
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392097#FFFFFF#000000##FFFFFF
##3920971.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392097;
/* rgb */ color: rgb(57, 32, 151);
/* oklch */ color: oklch(36.6% 0.179 282.7);
Tailwind
colors: {
  custom: {
    50: '#7c5fb7',
    500: '#392097',
    950: '#000000',
  },
}
SCSS
$custom: #392097;
$custom-light: #7c5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#392097",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 252.605,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.17876,
    "h": 282.7
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#392097
secondary
#A8BF54
accent
#E840C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392097

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

Preview Lab → · Contrast checker → · Palette generator →

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