#380B40#380B40

#380B40 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.102 H 321.1°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#380B40
RGBrgb(56, 11, 64)
HSLhsl(291, 71%, 15%)
HSVhsv(291, 83%, 25%)
CMYKcmyk(12.5%, 82.8%, 0%, 74.9%)
CIE-LABlab(12.29, 30.17, -22.79)
CIE-LCHlch(12.29, 37.81, 322.93°)
OKLaboklab(25.71% 0.0791 -0.0638)
OKLCHoklch(25.71% 0.102 321.1)
XYZxyz(2.6759, 1.4504, 4.9885)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B40 #13400B
analogous
#1D0B40 #380B40 #400B2E
triadic
#380B40 #40380B #0B4038
tetradic
#380B40 #401D0B #13400B #0B2E40
square
#380B40 #401D0B #13400B #0B2E40
split-complementary
#380B40 #2E400B #0B401D
monochromatic
#17041A #17041A #380B40 #661474 #931DA8

Accessibility & contrast

On white

16.28
#380B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#380B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B40
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B40#FFFFFF#000000##FFFFFF
##380B401.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#391525
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380b40;
/* rgb */ color: rgb(56, 11, 64);
/* oklch */ color: oklch(25.7% 0.102 321.1);
Tailwind
colors: {
  custom: {
    50: '#714f75',
    500: '#380b40',
    950: '#000000',
  },
}
SCSS
$custom: #380b40;
$custom-light: #714f75;
$custom-dark: #000000;
JSON
{
  "hex": "#380b40",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 290.943,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25712,
    "c": 0.10165,
    "h": 321.1
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#380B40
secondary
#377D2A
accent
#ED3A55
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380B40

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

Preview Lab → · Contrast checker → · Palette generator →

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