#380E40#380E40

#380E40 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.097 H 320.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#380E40
RGBrgb(56, 14, 64)
HSLhsl(290, 64%, 15%)
HSVhsv(290, 78%, 25%)
CMYKcmyk(12.5%, 78.1%, 0%, 74.9%)
CIE-LABlab(12.77, 28.82, -22.03)
CIE-LCHlch(12.77, 36.27, 322.61°)
OKLaboklab(26.05% 0.0755 -0.0616)
OKLCHoklch(26.05% 0.097 320.8)
XYZxyz(2.7132, 1.5251, 5.0010)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E40 #16400E
analogous
#1F0E40 #380E40 #400E2F
triadic
#380E40 #40380E #0E4038
tetradic
#380E40 #401F0E #16400E #0E2F40
square
#380E40 #401F0E #16400E #0E2F40
split-complementary
#380E40 #2F400E #0E401F
monochromatic
#160519 #160519 #380E40 #641972 #9024A4

Accessibility & contrast

On white

16.09
#380E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E40
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E40#FFFFFF#000000##FFFFFF
##380E401.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#13233F
Tritanopia (blue-blind)
#381725
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380e40;
/* rgb */ color: rgb(56, 14, 64);
/* oklch */ color: oklch(26.1% 0.097 320.8);
Tailwind
colors: {
  custom: {
    50: '#715175',
    500: '#380e40',
    950: '#000000',
  },
}
SCSS
$custom: #380e40;
$custom-light: #715175;
$custom-dark: #000000;
JSON
{
  "hex": "#380e40",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 290.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.09744,
    "h": 320.8
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#380E40
secondary
#3B7B2F
accent
#E7415B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380E40

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

Preview Lab → · Contrast checker → · Palette generator →

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