#380E43#380E43

#380E43 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.101 H 318.5°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#380E43
RGBrgb(56, 14, 67)
HSLhsl(288, 65%, 16%)
HSVhsv(288, 79%, 26%)
CMYKcmyk(16.4%, 79.1%, 0%, 73.7%)
CIE-LABlab(12.99, 29.50, -23.79)
CIE-LCHlch(12.99, 37.90, 321.12°)
OKLaboklab(26.28% 0.0753 -0.0667)
OKLCHoklch(26.28% 0.101 318.5)
XYZxyz(2.8009, 1.5602, 5.4627)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E43 #19430E
analogous
#1D0E43 #380E43 #430E33
triadic
#380E43 #43380E #0E4338
tetradic
#380E43 #431D0E #19430E #0E3343
square
#380E43 #431D0E #19430E #0E3343
split-complementary
#380E43 #33430E #0E431D
monochromatic
#150519 #150519 #380E43 #621976 #8D23A8

Accessibility & contrast

On white

16.01
#380E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#380E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E43
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E43#FFFFFF#000000##FFFFFF
##380E431.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#112342
Tritanopia (blue-blind)
#381827
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380e43;
/* rgb */ color: rgb(56, 14, 67);
/* oklch */ color: oklch(26.3% 0.101 318.5);
Tailwind
colors: {
  custom: {
    50: '#715177',
    500: '#380e43',
    950: '#000000',
  },
}
SCSS
$custom: #380e43;
$custom-light: #715177;
$custom-dark: #000000;
JSON
{
  "hex": "#380e43",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 287.547,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26281,
    "c": 0.10063,
    "h": 318.5
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#380E43
secondary
#3F7E2F
accent
#E83F62
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380E43

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

Preview Lab → · Contrast checker → · Palette generator →

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