#38113D#38113D

#38113D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.089 H 323.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#38113D
RGBrgb(56, 17, 61)
HSLhsl(293, 56%, 15%)
HSVhsv(293, 72%, 24%)
CMYKcmyk(8.2%, 72.1%, 0%, 76.1%)
CIE-LABlab(13.10, 26.63, -19.37)
CIE-LCHlch(13.10, 32.93, 323.97°)
OKLaboklab(26.23% 0.0714 -0.0539)
OKLCHoklch(26.23% 0.089 323)
XYZxyz(2.6736, 1.5787, 4.5779)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38113D #163D11
analogous
#22113D #38113D #3D112C
triadic
#38113D #3D3811 #113D38
tetradic
#38113D #3D2211 #163D11 #112C3D
square
#38113D #3D2211 #163D11 #112C3D
split-complementary
#38113D #2C3D11 #113D22
monochromatic
#160718 #160718 #38113D #641E6D #902C9D

Accessibility & contrast

On white

15.96
#38113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38113D
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38113D#FFFFFF#000000##FFFFFF
##38113D1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#17233C
Tritanopia (blue-blind)
#391825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38113d;
/* rgb */ color: rgb(56, 17, 61);
/* oklch */ color: oklch(26.2% 0.089 323.0);
Tailwind
colors: {
  custom: {
    50: '#705273',
    500: '#38113d',
    950: '#000000',
  },
}
SCSS
$custom: #38113d;
$custom-light: #705273;
$custom-dark: #000000;
JSON
{
  "hex": "#38113d",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 293.182,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26227,
    "c": 0.08947,
    "h": 323
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#38113D
secondary
#3B7633
accent
#E04859
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38113D

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

Preview Lab → · Contrast checker → · Palette generator →

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