#38133A#38133A

#38133A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.083 H 325.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#38133A
RGBrgb(56, 19, 58)
HSLhsl(297, 51%, 15%)
HSVhsv(297, 67%, 23%)
CMYKcmyk(3.4%, 67.2%, 0%, 77.3%)
CIE-LABlab(13.30, 24.87, -16.92)
CIE-LCHlch(13.30, 30.08, 325.78°)
OKLaboklab(26.31% 0.0682 -0.0468)
OKLCHoklch(26.31% 0.083 325.6)
XYZxyz(2.6274, 1.6121, 4.1749)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38133A #153A13
analogous
#24133A #38133A #3A1328
triadic
#38133A #3A3813 #133A38
tetradic
#38133A #3A2413 #153A13 #13283A
square
#38133A #3A2413 #153A13 #13283A
split-complementary
#38133A #283A13 #133A24
monochromatic
#160817 #160817 #38133A #652268 #913196

Accessibility & contrast

On white

15.88
#38133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38133A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38133A#FFFFFF#000000##FFFFFF
##38133A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1F3B
Deuteranopia (green-blind)
#1A2439
Tritanopia (blue-blind)
#391824
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38133a;
/* rgb */ color: rgb(56, 19, 58);
/* oklch */ color: oklch(26.3% 0.083 325.6);
Tailwind
colors: {
  custom: {
    50: '#705370',
    500: '#38133a',
    950: '#000000',
  },
}
SCSS
$custom: #38133a;
$custom-light: #705370;
$custom-dark: #000000;
JSON
{
  "hex": "#38133a",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 296.923,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26313,
    "c": 0.08272,
    "h": 325.6
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#38133A
secondary
#3A7236
accent
#DA4E55
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38133A

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

Preview Lab → · Contrast checker → · Palette generator →

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