#38133F#38133F

#38133F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.088 H 321.0°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#38133F
RGBrgb(56, 19, 63)
HSLhsl(290, 54%, 16%)
HSVhsv(290, 70%, 25%)
CMYKcmyk(11.1%, 69.8%, 0%, 75.3%)
CIE-LABlab(13.62, 26.01, -19.96)
CIE-LCHlch(13.62, 32.78, 322.51°)
OKLaboklab(26.65% 0.0686 -0.0556)
OKLCHoklch(26.65% 0.088 321)
XYZxyz(2.7609, 1.6655, 4.8777)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38133F #1A3F13
analogous
#22133F #38133F #3F1330
triadic
#38133F #3F3813 #133F38
tetradic
#38133F #3F2213 #1A3F13 #13303F
square
#38133F #3F2213 #1A3F13 #13303F
split-complementary
#38133F #303F13 #133F22
monochromatic
#150718 #150718 #38133F #62216E #8C2F9D

Accessibility & contrast

On white

15.75
#38133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#38133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38133F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38133F#FFFFFF#000000##FFFFFF
##38133F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092040
Deuteranopia (green-blind)
#17243E
Tritanopia (blue-blind)
#391A26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38133f;
/* rgb */ color: rgb(56, 19, 63);
/* oklch */ color: oklch(26.7% 0.088 321.0);
Tailwind
colors: {
  custom: {
    50: '#705374',
    500: '#38133f',
    950: '#000000',
  },
}
SCSS
$custom: #38133f;
$custom-light: #705374;
$custom-dark: #000000;
JSON
{
  "hex": "#38133f",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 290.455,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2665,
    "c": 0.08828,
    "h": 321
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#38133F
secondary
#417836
accent
#DD4B62
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #38133F

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

Preview Lab → · Contrast checker → · Palette generator →

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