#38033A#38033A

#38033A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.107 H 326.6°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#38033A
RGBrgb(56, 3, 58)
HSLhsl(298, 90%, 12%)
HSVhsv(298, 95%, 23%)
CMYKcmyk(3.4%, 94.8%, 0%, 77.3%)
CIE-LABlab(10.64, 32.40, -21.15)
CIE-LCHlch(10.64, 38.69, 326.87°)
OKLaboklab(24.4% 0.0892 -0.0589)
OKLCHoklch(24.4% 0.107 326.6)
XYZxyz(2.4271, 1.2115, 4.1082)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38033A #053A03
analogous
#1D033A #38033A #3A0321
triadic
#38033A #3A3803 #033A38
tetradic
#38033A #3A1D03 #053A03 #03213A
square
#38033A #3A1D03 #053A03 #03213A
split-complementary
#38033A #213A03 #033A1D
monochromatic
#1C021D #1C021D #38033A #700674 #A809AE

Accessibility & contrast

On white

16.91
#38033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#38033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38033A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38033A#FFFFFF#000000##FFFFFF
##38033A1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#3A0D1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38033a;
/* rgb */ color: rgb(56, 3, 58);
/* oklch */ color: oklch(24.4% 0.107 326.6);
Tailwind
colors: {
  custom: {
    50: '#714b70',
    500: '#38033a',
    950: '#000000',
  },
}
SCSS
$custom: #38033a;
$custom-light: #714b70;
$custom-dark: #000000;
JSON
{
  "hex": "#38033a",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 297.818,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24403,
    "c": 0.10693,
    "h": 326.6
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#38033A
secondary
#207D1C
accent
#FF2931
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38033A

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

Preview Lab → · Contrast checker → · Palette generator →

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