#38133B#38133B

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

Color values

HEX#38133B
RGBrgb(56, 19, 59)
HSLhsl(296, 51%, 15%)
HSVhsv(296, 68%, 23%)
CMYKcmyk(5.1%, 67.8%, 0%, 76.9%)
CIE-LABlab(13.37, 25.10, -17.53)
CIE-LCHlch(13.37, 30.61, 325.06°)
OKLaboklab(26.38% 0.0683 -0.0485)
OKLCHoklch(26.38% 0.084 324.6)
XYZxyz(2.6531, 1.6224, 4.3102)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38133B #163B13
analogous
#24133B #38133B #3B132A
triadic
#38133B #3B3813 #133B38
tetradic
#38133B #3B2413 #163B13 #132A3B
square
#38133B #3B2413 #163B13 #132A3B
split-complementary
#38133B #2A3B13 #133B24
monochromatic
#160717 #160717 #38133B #642269 #903198

Accessibility & contrast

On white

15.86
#38133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38133B
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38133B#FFFFFF#000000##FFFFFF
##38133B1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38133b;
/* rgb */ color: rgb(56, 19, 59);
/* oklch */ color: oklch(26.4% 0.084 324.6);
Tailwind
colors: {
  custom: {
    50: '#705371',
    500: '#38133b',
    950: '#000000',
  },
}
SCSS
$custom: #38133b;
$custom-light: #705371;
$custom-dark: #000000;
JSON
{
  "hex": "#38133b",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 295.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26379,
    "c": 0.08382,
    "h": 324.6
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#38133B
secondary
#3B7336
accent
#DB4D58
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38133B

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

Preview Lab → · Contrast checker → · Palette generator →

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