#392971#392971

#392971 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.3% C 0.119 H 288.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#392971
RGBrgb(57, 41, 113)
HSLhsl(253, 47%, 30%)
HSVhsv(253, 64%, 44%)
CMYKcmyk(49.6%, 63.7%, 0%, 55.7%)
CIE-LABlab(22.47, 27.10, -39.29)
CIE-LCHlch(22.47, 47.73, 304.60°)
OKLaboklab(34.31% 0.0382 -0.1123)
OKLCHoklch(34.31% 0.119 288.8)
XYZxyz(5.4601, 3.6478, 16.0360)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392971 #617129
analogous
#293D71 #392971 #5D2971
triadic
#392971 #713929 #297139
tetradic
#392971 #71293D #617129 #29715D
square
#392971 #71293D #617129 #29715D
split-complementary
#392971 #715D29 #3D7129
monochromatic
#0C0817 #221944 #392971 #50399E #6C54C1

Accessibility & contrast

On white

12.14
#392971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#392971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392971
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392971#FFFFFF#000000##FFFFFF
##3929711.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#273A48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392971;
/* rgb */ color: rgb(57, 41, 113);
/* oklch */ color: oklch(34.3% 0.119 288.8);
Tailwind
colors: {
  custom: {
    50: '#74639a',
    500: '#392971',
    950: '#000000',
  },
}
SCSS
$custom: #392971;
$custom-light: #74639a;
$custom-dark: #000000;
JSON
{
  "hex": "#392971",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 253.333,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34308,
    "c": 0.11865,
    "h": 288.8
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#392971
secondary
#91A353
accent
#D651B9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392971

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

Preview Lab → · Contrast checker → · Palette generator →

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