#380A49#380A49

#380A49 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.112 H 314.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#380A49
RGBrgb(56, 10, 73)
HSLhsl(284, 76%, 16%)
HSVhsv(284, 86%, 29%)
CMYKcmyk(23.3%, 86.3%, 0%, 71.4%)
CIE-LABlab(12.85, 32.62, -28.19)
CIE-LCHlch(12.85, 43.11, 319.16°)
OKLaboklab(26.34% 0.0789 -0.0796)
OKLCHoklch(26.34% 0.112 314.7)
XYZxyz(2.9418, 1.5390, 6.4441)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A49 #1B490A
analogous
#190A49 #380A49 #490A3B
triadic
#380A49 #49380A #0A4938
tetradic
#380A49 #49190A #1B490A #0A3B49
square
#380A49 #49190A #1B490A #0A3B49
split-complementary
#380A49 #3B490A #0A4919
monochromatic
#15041B #15041B #380A49 #61117F #8B19B5

Accessibility & contrast

On white

16.06
#380A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380A49
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A49#FFFFFF#000000##FFFFFF
##380A491.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#062248
Tritanopia (blue-blind)
#361929
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380a49;
/* rgb */ color: rgb(56, 10, 73);
/* oklch */ color: oklch(26.3% 0.112 314.7);
Tailwind
colors: {
  custom: {
    50: '#714f7c',
    500: '#380a49',
    950: '#000000',
  },
}
SCSS
$custom: #380a49;
$custom-light: #714f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#380a49",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 283.81,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26337,
    "c": 0.11208,
    "h": 314.7
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#380A49
secondary
#428629
accent
#F23568
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380A49

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

Preview Lab → · Contrast checker → · Palette generator →

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