#38053C#38053C

#38053C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.106 H 324.8°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#38053C
RGBrgb(56, 5, 60)
HSLhsl(296, 85%, 13%)
HSVhsv(296, 92%, 24%)
CMYKcmyk(6.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(11.10, 31.88, -21.84)
CIE-LCHlch(11.10, 38.65, 325.59°)
OKLaboklab(24.78% 0.0865 -0.061)
OKLCHoklch(24.78% 0.106 324.8)
XYZxyz(2.5007, 1.2757, 4.3886)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38053C #093C05
analogous
#1C053C #38053C #3C0525
triadic
#38053C #3C3805 #053C38
tetradic
#38053C #3C1C05 #093C05 #05253C
square
#38053C #3C1C05 #093C05 #05253C
split-complementary
#38053C #253C05 #053C1C
monochromatic
#1A021C #1A021C #38053C #6D0A74 #A10EAD

Accessibility & contrast

On white

16.73
#38053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38053C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38053C#FFFFFF#000000##FFFFFF
##38053C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#391021
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38053c;
/* rgb */ color: rgb(56, 5, 60);
/* oklch */ color: oklch(24.8% 0.106 324.8);
Tailwind
colors: {
  custom: {
    50: '#714c72',
    500: '#38053c',
    950: '#000000',
  },
}
SCSS
$custom: #38053c;
$custom-light: #714c72;
$custom-dark: #000000;
JSON
{
  "hex": "#38053c",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 295.636,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24777,
    "c": 0.10581,
    "h": 324.8
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#38053C
secondary
#277D20
accent
#FB2D3C
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080108
muted
#7B777B

Preview Lab

Preview with #38053C

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

Preview Lab → · Contrast checker → · Palette generator →

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