#392696#392696

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

Color values

HEX#392696
RGBrgb(57, 38, 150)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 59%)
CMYKcmyk(62%, 74.7%, 0%, 41.2%)
CIE-LABlab(25.13, 40.77, -58.20)
CIE-LCHlch(25.13, 71.06, 305.01°)
OKLaboklab(37.24% 0.0353 -0.1678)
OKLCHoklch(37.24% 0.171 281.9)
XYZxyz(7.8838, 4.4575, 29.2932)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392696 #839626
analogous
#264B96 #392696 #712696
triadic
#392696 #963926 #269639
tetradic
#392696 #96264B #839626 #269671
square
#392696 #96264B #839626 #269671
split-complementary
#392696 #967126 #4B9626
monochromatic
#140D34 #261A65 #392696 #4C32C7 #7460D7

Accessibility & contrast

On white

11.10
#392696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392696
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392696#FFFFFF#000000##FFFFFF
##3926961.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392696;
/* rgb */ color: rgb(57, 38, 150);
/* oklch */ color: oklch(37.2% 0.171 281.9);
Tailwind
colors: {
  custom: {
    50: '#7b63b6',
    500: '#392696',
    950: '#000000',
  },
}
SCSS
$custom: #392696;
$custom-light: #7b63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#392696",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 250.179,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37243,
    "c": 0.17147,
    "h": 281.9
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#392696
secondary
#ACBC5C
accent
#E345C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #392696

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

Preview Lab → · Contrast checker → · Palette generator →

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