#380E4D#380E4D

#380E4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.111 H 311.6°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#380E4D
RGBrgb(56, 14, 77)
HSLhsl(280, 69%, 18%)
HSVhsv(280, 82%, 30%)
CMYKcmyk(27.3%, 81.8%, 0%, 69.8%)
CIE-LABlab(13.77, 31.89, -29.47)
CIE-LCHlch(13.77, 43.42, 317.25°)
OKLaboklab(27.09% 0.0739 -0.0834)
OKLCHoklch(27.09% 0.111 311.6)
XYZxyz(3.1272, 1.6907, 7.1813)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E4D #234D0E
analogous
#180E4D #380E4D #4D0E42
triadic
#380E4D #4D380E #0E4D38
tetradic
#380E4D #4D180E #234D0E #0E424D
square
#380E4D #4D180E #234D0E #0E424D
split-complementary
#380E4D #424D0E #0E4D18
monochromatic
#13051A #13051A #380E4D #5E1781 #8321B5

Accessibility & contrast

On white

15.69
#380E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E4D
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E4D#FFFFFF#000000##FFFFFF
##380E4D1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#05244C
Tritanopia (blue-blind)
#351C2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380e4d;
/* rgb */ color: rgb(56, 14, 77);
/* oklch */ color: oklch(27.1% 0.111 311.6);
Tailwind
colors: {
  custom: {
    50: '#72517f',
    500: '#380e4d',
    950: '#000000',
  },
}
SCSS
$custom: #380e4d;
$custom-light: #72517f;
$custom-dark: #000000;
JSON
{
  "hex": "#380e4d",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.11146,
    "h": 311.6
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#380E4D
secondary
#4D882F
accent
#EC3C77
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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