#392597#392597

#392597 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.174 H 281.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#392597
RGBrgb(57, 37, 151)
HSLhsl(251, 61%, 37%)
HSVhsv(251, 75%, 59%)
CMYKcmyk(62.3%, 75.5%, 0%, 40.8%)
CIE-LABlab(25.04, 41.63, -58.97)
CIE-LCHlch(25.04, 72.19, 305.22°)
OKLaboklab(37.21% 0.0358 -0.17)
OKLCHoklch(37.21% 0.174 281.9)
XYZxyz(7.9331, 4.4268, 29.7086)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392597 #839725
analogous
#254A97 #392597 #722597
triadic
#392597 #973925 #259739
tetradic
#392597 #97254A #839725 #259772
square
#392597 #97254A #839725 #259772
split-complementary
#392597 #977225 #4A9725
monochromatic
#140D35 #261966 #392597 #4C31C8 #745FD8

Accessibility & contrast

On white

11.14
#392597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#392597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392597
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392597#FFFFFF#000000##FFFFFF
##3925971.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #392597;
/* rgb */ color: rgb(57, 37, 151);
/* oklch */ color: oklch(37.2% 0.174 281.9);
Tailwind
colors: {
  custom: {
    50: '#7c62b7',
    500: '#392597',
    950: '#000000',
  },
}
SCSS
$custom: #392597;
$custom-light: #7c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392597",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 250.526,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.17378,
    "h": 281.9
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#392597
secondary
#ACBD5B
accent
#E444C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392597

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

Preview Lab → · Contrast checker → · Palette generator →

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