#38133C#38133C

#38133C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.085 H 323.7°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#38133C
RGBrgb(56, 19, 60)
HSLhsl(294, 52%, 15%)
HSVhsv(294, 68%, 24%)
CMYKcmyk(6.7%, 68.3%, 0%, 76.5%)
CIE-LABlab(13.43, 25.32, -18.14)
CIE-LCHlch(13.43, 31.15, 324.38°)
OKLaboklab(26.45% 0.0684 -0.0503)
OKLCHoklch(26.45% 0.085 323.7)
XYZxyz(2.6793, 1.6329, 4.4481)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38133C #173C13
analogous
#23133C #38133C #3C132B
triadic
#38133C #3C3813 #133C38
tetradic
#38133C #3C2313 #173C13 #132B3C
square
#38133C #3C2313 #173C13 #132B3C
split-complementary
#38133C #2B3C13 #133C23
monochromatic
#160717 #160717 #38133C #63226A #8F3099

Accessibility & contrast

On white

15.83
#38133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38133C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38133C#FFFFFF#000000##FFFFFF
##38133C1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203D
Deuteranopia (green-blind)
#19243B
Tritanopia (blue-blind)
#391925
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38133c;
/* rgb */ color: rgb(56, 19, 60);
/* oklch */ color: oklch(26.4% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#705372',
    500: '#38133c',
    950: '#000000',
  },
}
SCSS
$custom: #38133c;
$custom-light: #705372;
$custom-dark: #000000;
JSON
{
  "hex": "#38133c",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 294.146,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26445,
    "c": 0.08492,
    "h": 323.7
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#38133C
secondary
#3C7436
accent
#DB4C5A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38133C

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

Preview Lab → · Contrast checker → · Palette generator →

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