#38113C#38113C

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

Color values

HEX#38113C
RGBrgb(56, 17, 60)
HSLhsl(294, 56%, 15%)
HSVhsv(294, 72%, 24%)
CMYKcmyk(6.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(13.03, 26.41, -18.77)
CIE-LCHlch(13.03, 32.40, 324.60°)
OKLaboklab(26.16% 0.0714 -0.0521)
OKLCHoklch(26.16% 0.088 323.9)
XYZxyz(2.6469, 1.5680, 4.4373)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38113C #153C11
analogous
#23113C #38113C #3C112A
triadic
#38113C #3C3811 #113C38
tetradic
#38113C #3C2311 #153C11 #112A3C
square
#38113C #3C2311 #153C11 #112A3C
split-complementary
#38113C #2A3C11 #113C23
monochromatic
#160718 #160718 #38113C #651F6C #912C9B

Accessibility & contrast

On white

15.99
#38113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38113C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38113C#FFFFFF#000000##FFFFFF
##38113C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3D
Deuteranopia (green-blind)
#18233B
Tritanopia (blue-blind)
#391724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38113c;
/* rgb */ color: rgb(56, 17, 60);
/* oklch */ color: oklch(26.2% 0.088 323.9);
Tailwind
colors: {
  custom: {
    50: '#705272',
    500: '#38113c',
    950: '#000000',
  },
}
SCSS
$custom: #38113c;
$custom-light: #705272;
$custom-dark: #000000;
JSON
{
  "hex": "#38113c",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 294.419,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26158,
    "c": 0.08839,
    "h": 323.9
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#38113C
secondary
#3A7533
accent
#DF4957
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38113C

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

Preview Lab → · Contrast checker → · Palette generator →

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