#391438#391438

#391438 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.5% C 0.079 H 328.6°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#391438
RGBrgb(57, 20, 56)
HSLhsl(302, 48%, 15%)
HSVhsv(302, 65%, 22%)
CMYKcmyk(0%, 64.9%, 1.8%, 77.6%)
CIE-LABlab(13.57, 24.20, -15.07)
CIE-LCHlch(13.57, 28.50, 328.09°)
OKLaboklab(26.5% 0.0678 -0.0414)
OKLCHoklch(26.5% 0.079 328.6)
XYZxyz(2.6513, 1.6559, 3.9206)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391438 #143915
analogous
#281439 #391438 #391425
triadic
#391438 #383914 #143839
tetradic
#391438 #392814 #143915 #142539
square
#391438 #392814 #143915 #142539
split-complementary
#391438 #253914 #143928
monochromatic
#170816 #170816 #391438 #662465 #943491

Accessibility & contrast

On white

15.78
#391438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#391438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391438
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391438#FFFFFF#000000##FFFFFF
##3914381.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#1D2437
Tritanopia (blue-blind)
#3B1823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391438;
/* rgb */ color: rgb(57, 20, 56);
/* oklch */ color: oklch(26.5% 0.079 328.6);
Tailwind
colors: {
  custom: {
    50: '#71546e',
    500: '#391438',
    950: '#000000',
  },
}
SCSS
$custom: #391438;
$custom-light: #71546e;
$custom-dark: #000000;
JSON
{
  "hex": "#391438",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 301.622,
    "s": 48.052,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26502,
    "c": 0.07943,
    "h": 328.6
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#391438
secondary
#38713A
accent
#D85450
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #391438

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

Preview Lab → · Contrast checker → · Palette generator →

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