#380A4E#380A4E

#380A4E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.117 H 311.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#380A4E
RGBrgb(56, 10, 78)
HSLhsl(281, 77%, 17%)
HSVhsv(281, 87%, 31%)
CMYKcmyk(28.2%, 87.2%, 0%, 69.4%)
CIE-LABlab(13.28, 33.79, -30.96)
CIE-LCHlch(13.28, 45.83, 317.50°)
OKLaboklab(26.77% 0.0777 -0.0877)
OKLCHoklch(26.77% 0.117 311.5)
XYZxyz(3.1143, 1.6080, 7.3526)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A4E #204E0A
analogous
#160A4E #380A4E #4E0A42
triadic
#380A4E #4E380A #0A4E38
tetradic
#380A4E #4E160A #204E0A #0A424E
square
#380A4E #4E160A #204E0A #0A424E
split-complementary
#380A4E #424E0A #0A4E16
monochromatic
#13031B #13031B #380A4E #5F1184 #8618BA

Accessibility & contrast

On white

15.89
#380A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380A4E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A4E#FFFFFF#000000##FFFFFF
##380A4E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#351B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380a4e;
/* rgb */ color: rgb(56, 10, 78);
/* oklch */ color: oklch(26.8% 0.117 311.5);
Tailwind
colors: {
  custom: {
    50: '#725080',
    500: '#380a4e',
    950: '#000000',
  },
}
SCSS
$custom: #380a4e;
$custom-light: #725080;
$custom-dark: #000000;
JSON
{
  "hex": "#380a4e",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 280.588,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26769,
    "c": 0.11723,
    "h": 311.5
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#380A4E
secondary
#498B29
accent
#F43472
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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