#38153D#38153D

#38153D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.082 H 322.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#38153D
RGBrgb(56, 21, 61)
HSLhsl(293, 49%, 16%)
HSVhsv(293, 66%, 24%)
CMYKcmyk(8.2%, 65.6%, 0%, 76.1%)
CIE-LABlab(13.91, 24.42, -18.09)
CIE-LCHlch(13.91, 30.39, 323.46°)
OKLaboklab(26.82% 0.0654 -0.0502)
OKLCHoklch(26.82% 0.082 322.5)
XYZxyz(2.7413, 1.7141, 4.6004)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38153D #1A3D15
analogous
#24153D #38153D #3D152E
triadic
#38153D #3D3815 #153D38
tetradic
#38153D #3D2415 #1A3D15 #152E3D
square
#38153D #3D2415 #1A3D15 #152E3D
split-complementary
#38153D #2E3D15 #153D24
monochromatic
#150817 #150817 #38153D #62256B #8C3498

Accessibility & contrast

On white

15.64
#38153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38153D
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38153D#FFFFFF#000000##FFFFFF
##38153D1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#1A253C
Tritanopia (blue-blind)
#391B26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38153d;
/* rgb */ color: rgb(56, 21, 61);
/* oklch */ color: oklch(26.8% 0.082 322.5);
Tailwind
colors: {
  custom: {
    50: '#705572',
    500: '#38153d',
    950: '#000000',
  },
}
SCSS
$custom: #38153d;
$custom-light: #705572;
$custom-dark: #000000;
JSON
{
  "hex": "#38153d",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 292.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26816,
    "c": 0.08243,
    "h": 322.5
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#38153D
secondary
#417539
accent
#D84F61
background
#F6F5F6
surface
#ECE8EC
border
#C7C4C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #38153D

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

Preview Lab → · Contrast checker → · Palette generator →

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