#38143E#38143E

#38143E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.085 H 321.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#38143E
RGBrgb(56, 20, 62)
HSLhsl(291, 51%, 16%)
HSVhsv(291, 68%, 24%)
CMYKcmyk(9.7%, 67.7%, 0%, 75.7%)
CIE-LABlab(13.76, 25.22, -19.03)
CIE-LCHlch(13.76, 31.59, 322.96°)
OKLaboklab(26.73% 0.067 -0.0529)
OKLCHoklch(26.73% 0.085 321.7)
XYZxyz(2.7504, 1.6890, 4.7376)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38143E #1A3E14
analogous
#23143E #38143E #3E142F
triadic
#38143E #3E3814 #143E38
tetradic
#38143E #3E2314 #1A3E14 #142F3E
square
#38143E #3E2314 #1A3E14 #142F3E
split-complementary
#38143E #2F3E14 #143E23
monochromatic
#150717 #150717 #38143E #62236C #8C329B

Accessibility & contrast

On white

15.70
#38143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#38143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38143E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38143E#FFFFFF#000000##FFFFFF
##38143E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203F
Deuteranopia (green-blind)
#19243D
Tritanopia (blue-blind)
#391A26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38143e;
/* rgb */ color: rgb(56, 20, 62);
/* oklch */ color: oklch(26.7% 0.085 321.7);
Tailwind
colors: {
  custom: {
    50: '#705473',
    500: '#38143e',
    950: '#000000',
  },
}
SCSS
$custom: #38143e;
$custom-light: #705473;
$custom-dark: #000000;
JSON
{
  "hex": "#38143e",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 291.429,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26729,
    "c": 0.08539,
    "h": 321.7
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#38143E
secondary
#417638
accent
#DB4D61
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #38143E

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

Preview Lab → · Contrast checker → · Palette generator →

#38143E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva