#380E4B#380E4B

#380E4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.109 H 312.8°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#380E4B
RGBrgb(56, 14, 75)
HSLhsl(281, 69%, 17%)
HSVhsv(281, 81%, 29%)
CMYKcmyk(25.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(13.61, 31.40, -28.36)
CIE-LCHlch(13.61, 42.31, 317.91°)
OKLaboklab(26.92% 0.0743 -0.0801)
OKLCHoklch(26.92% 0.109 312.8)
XYZxyz(3.0577, 1.6629, 6.8151)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E4B #214B0E
analogous
#190E4B #380E4B #4B0E40
triadic
#380E4B #4B380E #0E4B38
tetradic
#380E4B #4B190E #214B0E #0E404B
square
#380E4B #4B190E #214B0E #0E404B
split-complementary
#380E4B #404B0E #0E4B19
monochromatic
#13051A #13051A #380E4B #5F187F #8521B2

Accessibility & contrast

On white

15.76
#380E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E4B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E4B#FFFFFF#000000##FFFFFF
##380E4B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#07244A
Tritanopia (blue-blind)
#361C2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380e4b;
/* rgb */ color: rgb(56, 14, 75);
/* oklch */ color: oklch(26.9% 0.109 312.8);
Tailwind
colors: {
  custom: {
    50: '#71517e',
    500: '#380e4b',
    950: '#000000',
  },
}
SCSS
$custom: #380e4b;
$custom-light: #71517e;
$custom-dark: #000000;
JSON
{
  "hex": "#380e4b",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 281.311,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26922,
    "c": 0.10929,
    "h": 312.8
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#380E4B
secondary
#4A862F
accent
#EB3C73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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