#392671#392671

#392671 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.123 H 289.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#392671
RGBrgb(57, 38, 113)
HSLhsl(255, 50%, 30%)
HSVhsv(255, 66%, 44%)
CMYKcmyk(49.6%, 66.4%, 0%, 55.7%)
CIE-LABlab(21.76, 29.00, -40.45)
CIE-LCHlch(21.76, 49.77, 305.64°)
OKLaboklab(33.79% 0.0418 -0.1157)
OKLCHoklch(33.79% 0.123 289.8)
XYZxyz(5.3602, 3.4481, 16.0027)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392671 #5E7126
analogous
#263971 #392671 #5F2671
triadic
#392671 #713926 #267139
tetradic
#392671 #712639 #5E7126 #26715F
square
#392671 #712639 #5E7126 #26715F
split-complementary
#392671 #715F26 #397126
monochromatic
#0C0817 #221743 #392671 #50359F #6C4EC3

Accessibility & contrast

On white

12.43
#392671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#392671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392671
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392671#FFFFFF#000000##FFFFFF
##3926711.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#273847
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392671;
/* rgb */ color: rgb(57, 38, 113);
/* oklch */ color: oklch(33.8% 0.123 289.8);
Tailwind
colors: {
  custom: {
    50: '#75619a',
    500: '#392671',
    950: '#000000',
  },
}
SCSS
$custom: #392671;
$custom-light: #75619a;
$custom-dark: #000000;
JSON
{
  "hex": "#392671",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 255.2,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.12305,
    "h": 289.8
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#392671
secondary
#8EA44F
accent
#D94FB6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392671

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

Preview Lab → · Contrast checker → · Palette generator →

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