#38153A#38153A

#38153A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.6% C 0.079 H 325.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#38153A
RGBrgb(56, 21, 58)
HSLhsl(297, 47%, 15%)
HSVhsv(297, 64%, 23%)
CMYKcmyk(3.4%, 63.8%, 0%, 77.3%)
CIE-LABlab(13.73, 23.73, -16.25)
CIE-LCHlch(13.73, 28.76, 325.59°)
OKLaboklab(26.62% 0.0651 -0.0449)
OKLCHoklch(26.62% 0.079 325.4)
XYZxyz(2.6627, 1.6827, 4.1867)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38153A #173A15
analogous
#25153A #38153A #3A1529
triadic
#38153A #3A3815 #153A38
tetradic
#38153A #3A2515 #173A15 #15293A
square
#38153A #3A2515 #173A15 #15293A
split-complementary
#38153A #293A15 #153A25
monochromatic
#160816 #160816 #38153A #632567 #8F3694

Accessibility & contrast

On white

15.71
#38153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#38153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38153A
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38153A#FFFFFF#000000##FFFFFF
##38153A1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203B
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#391A25
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38153a;
/* rgb */ color: rgb(56, 21, 58);
/* oklch */ color: oklch(26.6% 0.079 325.4);
Tailwind
colors: {
  custom: {
    50: '#705470',
    500: '#38153a',
    950: '#000000',
  },
}
SCSS
$custom: #38153a;
$custom-light: #705470;
$custom-dark: #000000;
JSON
{
  "hex": "#38153a",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 296.757,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26621,
    "c": 0.07902,
    "h": 325.4
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#38153A
secondary
#3C7139
accent
#D65159
background
#F6F4F6
surface
#ECE8EC
border
#C7C4C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #38153A

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

Preview Lab → · Contrast checker → · Palette generator →

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