#380A44#380A44

#380A44 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.107 H 318.2°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#380A44
RGBrgb(56, 10, 68)
HSLhsl(288, 74%, 15%)
HSVhsv(288, 85%, 27%)
CMYKcmyk(17.6%, 85.3%, 0%, 73.3%)
CIE-LABlab(12.45, 31.47, -25.35)
CIE-LCHlch(12.45, 40.41, 321.15°)
OKLaboklab(25.92% 0.0798 -0.0713)
OKLCHoklch(25.92% 0.107 318.2)
XYZxyz(2.7827, 1.4753, 5.6059)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A44 #16440A
analogous
#1B0A44 #380A44 #440A33
triadic
#380A44 #44380A #0A4438
tetradic
#380A44 #441B0A #16440A #0A3344
square
#380A44 #441B0A #16440A #0A3344
split-complementary
#380A44 #33440A #0A441B
monochromatic
#16041B #16041B #380A44 #641279 #901AAF

Accessibility & contrast

On white

16.22
#380A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#380A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380A44
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A44#FFFFFF#000000##FFFFFF
##380A441.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#0D2243
Tritanopia (blue-blind)
#381627
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380a44;
/* rgb */ color: rgb(56, 10, 68);
/* oklch */ color: oklch(25.9% 0.107 318.2);
Tailwind
colors: {
  custom: {
    50: '#714f78',
    500: '#380a44',
    950: '#000000',
  },
}
SCSS
$custom: #380a44;
$custom-light: #714f78;
$custom-dark: #000000;
JSON
{
  "hex": "#380a44",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 287.586,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.10697,
    "h": 318.2
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#380A44
secondary
#3B8129
accent
#F1375D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380A44

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

Preview Lab → · Contrast checker → · Palette generator →

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