#392A71#392A71

#392A71 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.117 H 288.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#392A71
RGBrgb(57, 42, 113)
HSLhsl(253, 46%, 30%)
HSVhsv(253, 63%, 44%)
CMYKcmyk(49.6%, 62.8%, 0%, 55.7%)
CIE-LABlab(22.72, 26.46, -38.89)
CIE-LCHlch(22.72, 47.04, 304.23°)
OKLaboklab(34.49% 0.037 -0.1112)
OKLCHoklch(34.49% 0.117 288.4)
XYZxyz(5.4951, 3.7178, 16.0477)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A71 #62712A
analogous
#2A3E71 #392A71 #5C2A71
triadic
#392A71 #71392A #2A7139
tetradic
#392A71 #712A3E #62712A #2A715C
square
#392A71 #712A3E #62712A #2A715C
split-complementary
#392A71 #715C2A #3E712A
monochromatic
#0C0918 #221944 #392A71 #503B9E #6C55C0

Accessibility & contrast

On white

12.04
#392A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A71
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A71#FFFFFF#000000##FFFFFF
##392A711.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#273A49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392a71;
/* rgb */ color: rgb(57, 42, 113);
/* oklch */ color: oklch(34.5% 0.117 288.4);
Tailwind
colors: {
  custom: {
    50: '#74649a',
    500: '#392a71',
    950: '#000000',
  },
}
SCSS
$custom: #392a71;
$custom-light: #74649a;
$custom-dark: #000000;
JSON
{
  "hex": "#392a71",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 252.676,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34487,
    "c": 0.11716,
    "h": 288.4
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#392A71
secondary
#92A354
accent
#D552BA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #392A71

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

Preview Lab → · Contrast checker → · Palette generator →

#392A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva