#38113F#38113F

#38113F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.092 H 321.3°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#38113F
RGBrgb(56, 17, 63)
HSLhsl(291, 58%, 16%)
HSVhsv(291, 73%, 25%)
CMYKcmyk(11.1%, 73%, 0%, 75.3%)
CIE-LABlab(13.23, 27.08, -20.57)
CIE-LCHlch(13.23, 34.01, 322.78°)
OKLaboklab(26.37% 0.0715 -0.0574)
OKLCHoklch(26.37% 0.092 321.3)
XYZxyz(2.7284, 1.6007, 4.8669)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38113F #183F11
analogous
#21113F #38113F #3F112F
triadic
#38113F #3F3811 #113F38
tetradic
#38113F #3F2111 #183F11 #112F3F
square
#38113F #3F2111 #183F11 #112F3F
split-complementary
#38113F #2F3F11 #113F21
monochromatic
#150718 #150718 #38113F #631E6F #8E2B9F

Accessibility & contrast

On white

15.91
#38113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38113F
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38113F#FFFFFF#000000##FFFFFF
##38113F1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#16233E
Tritanopia (blue-blind)
#391926
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38113f;
/* rgb */ color: rgb(56, 17, 63);
/* oklch */ color: oklch(26.4% 0.092 321.3);
Tailwind
colors: {
  custom: {
    50: '#705274',
    500: '#38113f',
    950: '#000000',
  },
}
SCSS
$custom: #38113f;
$custom-light: #705274;
$custom-dark: #000000;
JSON
{
  "hex": "#38113f",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 290.87,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.09166,
    "h": 321.3
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#38113F
secondary
#3E7833
accent
#E1475E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38113F

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

Preview Lab → · Contrast checker → · Palette generator →

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