#380D33#380D33

#380D33 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.086 H 332.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#380D33
RGBrgb(56, 13, 51)
HSLhsl(307, 62%, 14%)
HSVhsv(307, 77%, 22%)
CMYKcmyk(0%, 76.8%, 8.9%, 78%)
CIE-LABlab(11.74, 26.55, -14.34)
CIE-LCHlch(11.74, 30.17, 331.63°)
OKLaboklab(25.04% 0.0764 -0.0393)
OKLCHoklch(25.04% 0.086 332.8)
XYZxyz(2.3724, 1.3678, 3.2704)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D33 #0D3812
analogous
#270D38 #380D33 #380D1D
triadic
#380D33 #33380D #0D3338
tetradic
#380D33 #38270D #0D3812 #0D1D38
square
#380D33 #38270D #0D3812 #0D1D38
split-complementary
#380D33 #1D380D #0D3827
monochromatic
#190617 #190617 #380D33 #6A1960 #9B248D

Accessibility & contrast

On white

16.49
#380D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#380D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D33
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D33#FFFFFF#000000##FFFFFF
##380D331.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1B34
Deuteranopia (green-blind)
#1A2132
Tritanopia (blue-blind)
#3B111E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380d33;
/* rgb */ color: rgb(56, 13, 51);
/* oklch */ color: oklch(25.0% 0.086 332.8);
Tailwind
colors: {
  custom: {
    50: '#70506b',
    500: '#380d33',
    950: '#000000',
  },
}
SCSS
$custom: #380d33;
$custom-light: #70506b;
$custom-dark: #000000;
JSON
{
  "hex": "#380d33",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 306.977,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25038,
    "c": 0.08588,
    "h": 332.8
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#380D33
secondary
#2D7335
accent
#E55542
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #380D33

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

Preview Lab → · Contrast checker → · Palette generator →

#380D33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva