#391983#391983

#391983 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.162 H 288.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#391983
RGBrgb(57, 25, 131)
HSLhsl(258, 68%, 31%)
HSVhsv(258, 81%, 51%)
CMYKcmyk(56.5%, 80.9%, 0%, 48.6%)
CIE-LABlab(20.84, 41.72, -53.42)
CIE-LCHlch(20.84, 67.78, 307.99°)
OKLaboklab(33.65% 0.0501 -0.1537)
OKLCHoklch(33.65% 0.162 288)
XYZxyz(6.1305, 3.2035, 21.7636)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391983 #638319
analogous
#192E83 #391983 #6E1983
triadic
#391983 #833919 #198339
tetradic
#391983 #83192E #638319 #19836E
square
#391983 #83192E #638319 #19836E
split-complementary
#391983 #836E19 #2E8319
monochromatic
#0C051C #230F50 #391983 #4F23B6 #6C3DDA

Accessibility & contrast

On white

12.80
#391983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391983
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391983#FFFFFF#000000##FFFFFF
##3919831.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#1A384E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391983;
/* rgb */ color: rgb(57, 25, 131);
/* oklch */ color: oklch(33.7% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#795aa8',
    500: '#391983',
    950: '#000000',
  },
}
SCSS
$custom: #391983;
$custom-light: #795aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#391983",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 258.113,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.16168,
    "h": 288
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#391983
secondary
#93B741
accent
#EB3DB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391983

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

Preview Lab → · Contrast checker → · Palette generator →

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