#392595#392595

#392595 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.171 H 282.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#392595
RGBrgb(57, 37, 149)
HSLhsl(251, 60%, 36%)
HSVhsv(251, 75%, 58%)
CMYKcmyk(61.7%, 75.2%, 0%, 41.6%)
CIE-LABlab(24.84, 41.01, -58.07)
CIE-LCHlch(24.84, 71.09, 305.23°)
OKLaboklab(37% 0.0363 -0.1674)
OKLCHoklch(37% 0.171 282.2)
XYZxyz(7.7720, 4.3624, 28.8604)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392595 #819525
analogous
#254995 #392595 #712595
triadic
#392595 #953925 #259539
tetradic
#392595 #952549 #819525 #259571
square
#392595 #952549 #819525 #259571
split-complementary
#392595 #957125 #499525
monochromatic
#130D33 #261964 #392595 #4C31C6 #735ED7

Accessibility & contrast

On white

11.21
#392595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#392595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392595
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392595#FFFFFF#000000##FFFFFF
##3925951.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #392595;
/* rgb */ color: rgb(57, 37, 149);
/* oklch */ color: oklch(37.0% 0.171 282.2);
Tailwind
colors: {
  custom: {
    50: '#7b62b5',
    500: '#392595',
    950: '#000000',
  },
}
SCSS
$custom: #392595;
$custom-light: #7b62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392595",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 250.714,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.1713,
    "h": 282.2
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#392595
secondary
#AABC5A
accent
#E344C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392595

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

Preview Lab → · Contrast checker → · Palette generator →

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