#38053A#38053A

#38053A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.104 H 326.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#38053A
RGBrgb(56, 5, 58)
HSLhsl(298, 84%, 12%)
HSVhsv(298, 91%, 23%)
CMYKcmyk(3.4%, 91.4%, 0%, 77.3%)
CIE-LABlab(10.96, 31.48, -20.64)
CIE-LCHlch(10.96, 37.64, 326.75°)
OKLaboklab(24.63% 0.0867 -0.0575)
OKLCHoklch(24.63% 0.104 326.5)
XYZxyz(2.4488, 1.2550, 4.1154)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38053A #073A05
analogous
#1E053A #38053A #3A0522
triadic
#38053A #3A3805 #053A38
tetradic
#38053A #3A1E05 #073A05 #05223A
square
#38053A #3A1E05 #073A05 #05223A
split-complementary
#38053A #223A05 #053A1E
monochromatic
#1B021C #1B021C #38053A #6E0A72 #A50FAB

Accessibility & contrast

On white

16.79
#38053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#38053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38053A
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38053A#FFFFFF#000000##FFFFFF
##38053A1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#122039
Tritanopia (blue-blind)
#3A0E20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38053a;
/* rgb */ color: rgb(56, 5, 58);
/* oklch */ color: oklch(24.6% 0.104 326.5);
Tailwind
colors: {
  custom: {
    50: '#714c70',
    500: '#38053a',
    950: '#000000',
  },
}
SCSS
$custom: #38053a;
$custom-light: #714c70;
$custom-dark: #000000;
JSON
{
  "hex": "#38053a",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 297.736,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24625,
    "c": 0.104,
    "h": 326.5
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#38053A
secondary
#237B20
accent
#FA2D35
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38053A

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

Preview Lab → · Contrast checker → · Palette generator →

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