#38113E#38113E

#38113E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.091 H 322.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#38113E
RGBrgb(56, 17, 62)
HSLhsl(292, 57%, 15%)
HSVhsv(292, 73%, 24%)
CMYKcmyk(9.7%, 72.6%, 0%, 75.7%)
CIE-LABlab(13.17, 26.86, -19.98)
CIE-LCHlch(13.17, 33.47, 323.36°)
OKLaboklab(26.3% 0.0715 -0.0556)
OKLCHoklch(26.3% 0.091 322.1)
XYZxyz(2.7007, 1.5896, 4.7211)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38113E #173E11
analogous
#21113E #38113E #3E112D
triadic
#38113E #3E3811 #113E38
tetradic
#38113E #3E2111 #173E11 #112D3E
square
#38113E #3E2111 #173E11 #112D3E
split-complementary
#38113E #2D3E11 #113E21
monochromatic
#160718 #160718 #38113E #631E6E #8F2B9E

Accessibility & contrast

On white

15.94
#38113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38113E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38113E#FFFFFF#000000##FFFFFF
##38113E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#17233D
Tritanopia (blue-blind)
#391825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38113e;
/* rgb */ color: rgb(56, 17, 62);
/* oklch */ color: oklch(26.3% 0.091 322.1);
Tailwind
colors: {
  custom: {
    50: '#705273',
    500: '#38113e',
    950: '#000000',
  },
}
SCSS
$custom: #38113e;
$custom-light: #705273;
$custom-dark: #000000;
JSON
{
  "hex": "#38113e",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 292,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26297,
    "c": 0.09056,
    "h": 322.1
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#38113E
secondary
#3C7733
accent
#E0485C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38113E

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

Preview Lab → · Contrast checker → · Palette generator →

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