#380B4E#380B4E

#380B4E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.116 H 311.4°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#380B4E
RGBrgb(56, 11, 78)
HSLhsl(280, 75%, 17%)
HSVhsv(280, 86%, 31%)
CMYKcmyk(28.2%, 85.9%, 0%, 69.4%)
CIE-LABlab(13.41, 33.41, -30.75)
CIE-LCHlch(13.41, 45.40, 317.38°)
OKLaboklab(26.86% 0.0768 -0.0871)
OKLCHoklch(26.86% 0.116 311.4)
XYZxyz(3.1254, 1.6302, 7.3563)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B4E #214E0B
analogous
#170B4E #380B4E #4E0B42
triadic
#380B4E #4E380B #0B4E38
tetradic
#380B4E #4E170B #214E0B #0B424E
square
#380B4E #4E170B #214E0B #0B424E
split-complementary
#380B4E #424E0B #0B4E17
monochromatic
#13041B #13041B #380B4E #5F1384 #851AB9

Accessibility & contrast

On white

15.84
#380B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B4E
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B4E#FFFFFF#000000##FFFFFF
##380B4E1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.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: #380b4e;
/* rgb */ color: rgb(56, 11, 78);
/* oklch */ color: oklch(26.9% 0.116 311.4);
Tailwind
colors: {
  custom: {
    50: '#725080',
    500: '#380b4e',
    950: '#000000',
  },
}
SCSS
$custom: #380b4e;
$custom-light: #725080;
$custom-dark: #000000;
JSON
{
  "hex": "#380b4e",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 280.299,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26863,
    "c": 0.11614,
    "h": 311.4
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#380B4E
secondary
#4A8A2B
accent
#F23674
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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