#390238#390238

#390238 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.107 H 329.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#390238
RGBrgb(57, 2, 56)
HSLhsl(301, 93%, 12%)
HSVhsv(301, 96%, 22%)
CMYKcmyk(0%, 96.5%, 1.8%, 77.6%)
CIE-LABlab(10.55, 32.71, -19.84)
CIE-LCHlch(10.55, 38.26, 328.77°)
OKLaboklab(24.33% 0.092 -0.055)
OKLCHoklch(24.33% 0.107 329.1)
XYZxyz(2.4228, 1.1990, 3.8444)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390238 #023903
analogous
#1F0239 #390238 #39021D
triadic
#390238 #383902 #023839
tetradic
#390238 #391F02 #023903 #021D39
square
#390238 #391F02 #023903 #021D39
split-complementary
#390238 #1D3902 #02391F
monochromatic
#1E011D #1E011D #390238 #740472 #AF06AC

Accessibility & contrast

On white

16.94
#390238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#390238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390238
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390238#FFFFFF#000000##FFFFFF
##3902381.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#3B0B1D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #390238;
/* rgb */ color: rgb(57, 2, 56);
/* oklch */ color: oklch(24.3% 0.107 329.1);
Tailwind
colors: {
  custom: {
    50: '#724b6f',
    500: '#390238',
    950: '#000000',
  },
}
SCSS
$custom: #390238;
$custom-light: #724b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#390238",
  "rgb": {
    "r": 57,
    "g": 2,
    "b": 56
  },
  "hsl": {
    "h": 301.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24331,
    "c": 0.10722,
    "h": 329.1
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#390238
secondary
#1A7D1C
accent
#FF2D29
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #390238

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

Preview Lab → · Contrast checker → · Palette generator →

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