#38043B#38043B

#38043B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.106 H 325.7°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#38043B
RGBrgb(56, 4, 59)
HSLhsl(297, 87%, 12%)
HSVhsv(297, 93%, 23%)
CMYKcmyk(5.1%, 93.2%, 0%, 76.9%)
CIE-LABlab(10.87, 32.14, -21.49)
CIE-LCHlch(10.87, 38.66, 326.23°)
OKLaboklab(24.59% 0.0878 -0.0599)
OKLCHoklch(24.59% 0.106 325.7)
XYZxyz(2.4637, 1.2435, 4.2471)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38043B #073B04
analogous
#1C043B #38043B #3B0423
triadic
#38043B #3B3804 #043B38
tetradic
#38043B #3B1C04 #073B04 #04233B
square
#38043B #3B1C04 #073B04 #04233B
split-complementary
#38043B #233B04 #043B1C
monochromatic
#1B021D #1B021D #38043B #6E0874 #A50CAE

Accessibility & contrast

On white

16.82
#38043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#38043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38043B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38043B#FFFFFF#000000##FFFFFF
##38043B1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#111F3A
Tritanopia (blue-blind)
#3A0E20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38043b;
/* rgb */ color: rgb(56, 4, 59);
/* oklch */ color: oklch(24.6% 0.106 325.7);
Tailwind
colors: {
  custom: {
    50: '#714c71',
    500: '#38043b',
    950: '#000000',
  },
}
SCSS
$custom: #38043b;
$custom-light: #714c71;
$custom-dark: #000000;
JSON
{
  "hex": "#38043b",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 296.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2459,
    "c": 0.10634,
    "h": 325.7
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#38043B
secondary
#237D1E
accent
#FD2A36
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38043B

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

Preview Lab → · Contrast checker → · Palette generator →

#38043B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva