#38144A#38144A

#38144A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.099 H 312.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#38144A
RGBrgb(56, 20, 74)
HSLhsl(280, 57%, 18%)
HSVhsv(280, 73%, 29%)
CMYKcmyk(24.3%, 73%, 0%, 71%)
CIE-LABlab(14.60, 28.15, -26.07)
CIE-LCHlch(14.60, 38.37, 317.19°)
OKLaboklab(27.61% 0.067 -0.0735)
OKLCHoklch(27.61% 0.099 312.4)
XYZxyz(3.1169, 1.8356, 6.6673)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38144A #264A14
analogous
#1D144A #38144A #4A1441
triadic
#38144A #4A3814 #144A38
tetradic
#38144A #4A1D14 #264A14 #14414A
square
#38144A #4A1D14 #264A14 #14414A
split-complementary
#38144A #414A14 #144A1D
monochromatic
#120718 #14071A #38144A #5C217A #812EAA

Accessibility & contrast

On white

15.36
#38144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#38144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38144A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38144A#FFFFFF#000000##FFFFFF
##38144A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#0F2649
Tritanopia (blue-blind)
#361F2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #38144a;
/* rgb */ color: rgb(56, 20, 74);
/* oklch */ color: oklch(27.6% 0.099 312.4);
Tailwind
colors: {
  custom: {
    50: '#71547d',
    500: '#38144a',
    950: '#000000',
  },
}
SCSS
$custom: #38144a;
$custom-light: #71547d;
$custom-dark: #000000;
JSON
{
  "hex": "#38144a",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 280,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27605,
    "c": 0.09943,
    "h": 312.4
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#38144A
secondary
#508238
accent
#E1477A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #38144A

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

Preview Lab → · Contrast checker → · Palette generator →

#38144A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva