#390942#390942

#390942 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.107 H 320.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#390942
RGBrgb(57, 9, 66)
HSLhsl(291, 76%, 15%)
HSVhsv(291, 86%, 26%)
CMYKcmyk(13.6%, 86.4%, 0%, 74.1%)
CIE-LABlab(12.34, 31.67, -24.11)
CIE-LCHlch(12.34, 39.80, 322.72°)
OKLaboklab(25.84% 0.0825 -0.0676)
OKLCHoklch(25.84% 0.107 320.7)
XYZxyz(2.7683, 1.4587, 5.2889)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390942 #124209
analogous
#1C0942 #390942 #42092F
triadic
#390942 #423909 #094239
tetradic
#390942 #421C09 #124209 #092F42
square
#390942 #421C09 #124209 #092F42
split-complementary
#390942 #2F4209 #09421C
monochromatic
#17041B #17041B #390942 #681078 #9618AE

Accessibility & contrast

On white

16.26
#390942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#390942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390942
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390942#FFFFFF#000000##FFFFFF
##3909421.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#391525
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390942;
/* rgb */ color: rgb(57, 9, 66);
/* oklch */ color: oklch(25.8% 0.107 320.7);
Tailwind
colors: {
  custom: {
    50: '#724f77',
    500: '#390942',
    950: '#000000',
  },
}
SCSS
$custom: #390942;
$custom-light: #724f77;
$custom-dark: #000000;
JSON
{
  "hex": "#390942",
  "rgb": {
    "r": 57,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 290.526,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25836,
    "c": 0.10665,
    "h": 320.7
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#390942
secondary
#358027
accent
#F33553
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390942

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

Preview Lab → · Contrast checker → · Palette generator →

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