#392697#392697

#392697 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.173 H 281.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#392697
RGBrgb(57, 38, 151)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 59%)
CMYKcmyk(62.3%, 74.8%, 0%, 40.8%)
CIE-LABlab(25.23, 41.09, -58.65)
CIE-LCHlch(25.23, 71.61, 305.01°)
OKLaboklab(37.34% 0.0351 -0.1691)
OKLCHoklch(37.34% 0.173 281.7)
XYZxyz(7.9646, 4.4899, 29.7191)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392697 #849726
analogous
#264C97 #392697 #712697
triadic
#392697 #973926 #269739
tetradic
#392697 #97264C #849726 #269771
square
#392697 #97264C #849726 #269771
split-complementary
#392697 #977126 #4C9726
monochromatic
#140D35 #271A66 #392697 #4B32C8 #7460D7

Accessibility & contrast

On white

11.06
#392697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#392697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392697
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392697#FFFFFF#000000##FFFFFF
##3926971.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392697;
/* rgb */ color: rgb(57, 38, 151);
/* oklch */ color: oklch(37.3% 0.173 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b63b7',
    500: '#392697',
    950: '#000000',
  },
}
SCSS
$custom: #392697;
$custom-light: #7b63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392697",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 250.088,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37343,
    "c": 0.17272,
    "h": 281.7
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392697

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

Preview Lab → · Contrast checker → · Palette generator →

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