#380A38#380A38

#380A38 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.095 H 328.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#380A38
RGBrgb(56, 10, 56)
HSLhsl(300, 70%, 13%)
HSVhsv(300, 82%, 22%)
CMYKcmyk(0%, 82.1%, 0%, 78%)
CIE-LABlab(11.58, 28.90, -18.22)
CIE-LCHlch(11.58, 34.16, 327.78°)
OKLaboklab(25.02% 0.0806 -0.0504)
OKLCHoklch(25.02% 0.095 328)
XYZxyz(2.4532, 1.3435, 3.8707)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A38 #0A380A
analogous
#210A38 #380A38 #380A21
triadic
#380A38 #38380A #0A3838
tetradic
#380A38 #38210A #0A380A #0A2138
square
#380A38 #38210A #0A380A #0A2138
split-complementary
#380A38 #21380A #0A3821
monochromatic
#1A051A #1A051A #380A38 #6C136C #A01DA0

Accessibility & contrast

On white

16.55
#380A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380A38
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A38#FFFFFF#000000##FFFFFF
##380A381.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#162137
Tritanopia (blue-blind)
#3A1120
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380a38;
/* rgb */ color: rgb(56, 10, 56);
/* oklch */ color: oklch(25.0% 0.095 328.0);
Tailwind
colors: {
  custom: {
    50: '#714e6f',
    500: '#380a38',
    950: '#000000',
  },
}
SCSS
$custom: #380a38;
$custom-light: #714e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380a38",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25022,
    "c": 0.09509,
    "h": 328
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#380A38
secondary
#287528
accent
#ED3B3B
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380A38

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

Preview Lab → · Contrast checker → · Palette generator →

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