#380D54#380D54

#380D54 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.120 H 307.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#380D54
RGBrgb(56, 13, 84)
HSLhsl(276, 73%, 19%)
HSVhsv(276, 85%, 33%)
CMYKcmyk(33.3%, 84.5%, 0%, 67.1%)
CIE-LABlab(14.22, 34.06, -33.53)
CIE-LCHlch(14.22, 47.80, 315.45°)
OKLaboklab(27.6% 0.0734 -0.0953)
OKLCHoklch(27.6% 0.12 307.6)
XYZxyz(3.3747, 1.7687, 8.5494)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D54 #29540D
analogous
#150D54 #380D54 #540D4D
triadic
#380D54 #54380D #0D5438
tetradic
#380D54 #54150D #29540D #0D4D54
square
#380D54 #54150D #29540D #0D4D54
split-complementary
#380D54 #4D540D #0D5415
monochromatic
#12041A #15051F #380D54 #5B1589 #7F1DBE

Accessibility & contrast

On white

15.51
#380D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#380D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D54
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D54#FFFFFF#000000##FFFFFF
##380D541.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#331F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380d54;
/* rgb */ color: rgb(56, 13, 84);
/* oklch */ color: oklch(27.6% 0.120 307.6);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#380d54',
    950: '#000000',
  },
}
SCSS
$custom: #380d54;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#380d54",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 276.338,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27597,
    "c": 0.1203,
    "h": 307.6
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#380D54
secondary
#548F2E
accent
#F03880
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380D54

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

Preview Lab → · Contrast checker → · Palette generator →

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