#390231#390231

#390231 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.102 H 335.3°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#390231
RGBrgb(57, 2, 49)
HSLhsl(309, 93%, 12%)
HSVhsv(309, 96%, 22%)
CMYKcmyk(0%, 96.5%, 14%, 77.6%)
CIE-LABlab(10.07, 31.48, -15.49)
CIE-LCHlch(10.07, 35.09, 333.80°)
OKLaboklab(23.84% 0.0922 -0.0424)
OKLCHoklch(23.84% 0.102 335.3)
XYZxyz(2.2635, 1.1352, 3.0051)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390231 #02390A
analogous
#260239 #390231 #390216
triadic
#390231 #313902 #023139
tetradic
#390231 #392602 #02390A #021639
square
#390231 #392602 #02390A #021639
split-complementary
#390231 #163902 #023926
monochromatic
#1E0119 #1E0119 #390231 #740464 #AF0697

Accessibility & contrast

On white

17.11
#390231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#390231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390231
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390231#FFFFFF#000000##FFFFFF
##3902311.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021632
Deuteranopia (green-blind)
#171E30
Tritanopia (blue-blind)
#3C0619
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #390231;
/* rgb */ color: rgb(57, 2, 49);
/* oklch */ color: oklch(23.8% 0.102 335.3);
Tailwind
colors: {
  custom: {
    50: '#724a69',
    500: '#390231',
    950: '#000000',
  },
}
SCSS
$custom: #390231;
$custom-light: #724a69;
$custom-dark: #000000;
JSON
{
  "hex": "#390231",
  "rgb": {
    "r": 57,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 308.727,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23837,
    "c": 0.10153,
    "h": 335.3
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#390231
secondary
#1A7D29
accent
#FF4829
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #390231

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

Preview Lab → · Contrast checker → · Palette generator →

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