#38053B#38053B

#38053B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 325.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#38053B
RGBrgb(56, 5, 59)
HSLhsl(297, 84%, 13%)
HSVhsv(297, 92%, 23%)
CMYKcmyk(5.1%, 91.5%, 0%, 76.9%)
CIE-LABlab(11.03, 31.68, -21.24)
CIE-LCHlch(11.03, 38.15, 326.16°)
OKLaboklab(24.7% 0.0866 -0.0592)
OKLCHoklch(24.7% 0.105 325.6)
XYZxyz(2.4745, 1.2652, 4.2507)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38053B #083B05
analogous
#1D053B #38053B #3B0523
triadic
#38053B #3B3805 #053B38
tetradic
#38053B #3B1D05 #083B05 #05233B
square
#38053B #3B1D05 #083B05 #05233B
split-complementary
#38053B #233B05 #053B1D
monochromatic
#1B021C #1B021C #38053B #6E0A73 #A30FAC

Accessibility & contrast

On white

16.76
#38053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38053B
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38053B#FFFFFF#000000##FFFFFF
##38053B1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#12203A
Tritanopia (blue-blind)
#3A0F20
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38053b;
/* rgb */ color: rgb(56, 5, 59);
/* oklch */ color: oklch(24.7% 0.105 325.6);
Tailwind
colors: {
  custom: {
    50: '#714c71',
    500: '#38053b',
    950: '#000000',
  },
}
SCSS
$custom: #38053b;
$custom-light: #714c71;
$custom-dark: #000000;
JSON
{
  "hex": "#38053b",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 296.667,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.247,
    "c": 0.10489,
    "h": 325.6
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#38053B
secondary
#257C20
accent
#FB2D39
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38053B

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

Preview Lab → · Contrast checker → · Palette generator →

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