#38113A#38113A

#38113A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.086 H 325.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#38113A
RGBrgb(56, 17, 58)
HSLhsl(297, 55%, 15%)
HSVhsv(297, 71%, 23%)
CMYKcmyk(3.4%, 70.7%, 0%, 77.3%)
CIE-LABlab(12.91, 25.96, -17.55)
CIE-LCHlch(12.91, 31.34, 325.95°)
OKLaboklab(26.02% 0.0713 -0.0486)
OKLCHoklch(26.02% 0.086 325.7)
XYZxyz(2.5950, 1.5473, 4.1641)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38113A #133A11
analogous
#24113A #38113A #3A1128
triadic
#38113A #3A3811 #113A38
tetradic
#38113A #3A2411 #133A11 #11283A
square
#38113A #3A2411 #133A11 #11283A
split-complementary
#38113A #283A11 #113A24
monochromatic
#170718 #170718 #38113A #661F69 #932D99

Accessibility & contrast

On white

16.04
#38113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38113A
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38113A#FFFFFF#000000##FFFFFF
##38113A1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#192339
Tritanopia (blue-blind)
#3A1723
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38113a;
/* rgb */ color: rgb(56, 17, 58);
/* oklch */ color: oklch(26.0% 0.086 325.7);
Tailwind
colors: {
  custom: {
    50: '#705270',
    500: '#38113a',
    950: '#000000',
  },
}
SCSS
$custom: #38113a;
$custom-light: #705270;
$custom-dark: #000000;
JSON
{
  "hex": "#38113a",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 297.073,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26023,
    "c": 0.08624,
    "h": 325.7
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#38113A
secondary
#377333
accent
#DE4A51
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38113A

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

Preview Lab → · Contrast checker → · Palette generator →

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