#38133E#38133E

#38133E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.6% C 0.087 H 321.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#38133E
RGBrgb(56, 19, 62)
HSLhsl(292, 53%, 16%)
HSVhsv(292, 69%, 24%)
CMYKcmyk(9.7%, 69.4%, 0%, 75.7%)
CIE-LABlab(13.56, 25.78, -19.35)
CIE-LCHlch(13.56, 32.24, 323.10°)
OKLaboklab(26.58% 0.0686 -0.0538)
OKLCHoklch(26.58% 0.087 321.9)
XYZxyz(2.7332, 1.6544, 4.7319)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38133E #193E13
analogous
#22133E #38133E #3E132E
triadic
#38133E #3E3813 #133E38
tetradic
#38133E #3E2213 #193E13 #132E3E
square
#38133E #3E2213 #193E13 #132E3E
split-complementary
#38133E #2E3E13 #133E22
monochromatic
#150717 #150717 #38133E #62216D #8D309C

Accessibility & contrast

On white

15.78
#38133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#38133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38133E#FFFFFF#000000##FFFFFF
##38133E1.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)
#0A203F
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#391A26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38133e;
/* rgb */ color: rgb(56, 19, 62);
/* oklch */ color: oklch(26.6% 0.087 321.9);
Tailwind
colors: {
  custom: {
    50: '#705373',
    500: '#38133e',
    950: '#000000',
  },
}
SCSS
$custom: #38133e;
$custom-light: #705373;
$custom-dark: #000000;
JSON
{
  "hex": "#38133e",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 291.628,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.08716,
    "h": 321.9
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#38133E
secondary
#3F7736
accent
#DC4B60
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38133E

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

Preview Lab → · Contrast checker → · Palette generator →

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