#380A42#380A42

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

Color values

HEX#380A42
RGBrgb(56, 10, 66)
HSLhsl(289, 74%, 15%)
HSVhsv(289, 85%, 26%)
CMYKcmyk(15.2%, 84.8%, 0%, 74.1%)
CIE-LABlab(12.29, 31.03, -24.19)
CIE-LCHlch(12.29, 39.34, 322.05°)
OKLaboklab(25.77% 0.08 -0.0679)
OKLCHoklch(25.77% 0.105 319.7)
XYZxyz(2.7227, 1.4513, 5.2899)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A42 #14420A
analogous
#1C0A42 #380A42 #420A30
triadic
#380A42 #42380A #0A4238
tetradic
#380A42 #421C0A #14420A #0A3042
square
#380A42 #421C0A #14420A #0A3042
split-complementary
#380A42 #30420A #0A421C
monochromatic
#17041B #17041B #380A42 #651277 #921AAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##380A42#FFFFFF#000000##FFFFFF
##380A421.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)
#001D44
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#381625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380a42;
/* rgb */ color: rgb(56, 10, 66);
/* oklch */ color: oklch(25.8% 0.105 319.7);
Tailwind
colors: {
  custom: {
    50: '#714f77',
    500: '#380a42',
    950: '#000000',
  },
}
SCSS
$custom: #380a42;
$custom-light: #714f77;
$custom-dark: #000000;
JSON
{
  "hex": "#380a42",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 289.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25765,
    "c": 0.10494,
    "h": 319.7
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#380A42
secondary
#387F29
accent
#F03758
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380A42

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

Preview Lab → · Contrast checker → · Palette generator →

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