#380E34#380E34

#380E34 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.085 H 331.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#380E34
RGBrgb(56, 14, 52)
HSLhsl(306, 60%, 14%)
HSVhsv(306, 75%, 22%)
CMYKcmyk(0%, 75%, 7.1%, 78%)
CIE-LABlab(11.98, 26.26, -14.70)
CIE-LCHlch(11.98, 30.09, 330.77°)
OKLaboklab(25.23% 0.0751 -0.0403)
OKLCHoklch(25.23% 0.085 331.8)
XYZxyz(2.4078, 1.4029, 3.3921)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E34 #0E3812
analogous
#270E38 #380E34 #380E1F
triadic
#380E34 #34380E #0E3438
tetradic
#380E34 #38270E #0E3812 #0E1F38
square
#380E34 #38270E #0E3812 #0E1F38
split-complementary
#380E34 #1F380E #0E3827
monochromatic
#180617 #180617 #380E34 #691A61 #9A268F

Accessibility & contrast

On white

16.40
#380E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#380E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E34
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E34#FFFFFF#000000##FFFFFF
##380E341.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C35
Deuteranopia (green-blind)
#1A2233
Tritanopia (blue-blind)
#3B121F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380e34;
/* rgb */ color: rgb(56, 14, 52);
/* oklch */ color: oklch(25.2% 0.085 331.8);
Tailwind
colors: {
  custom: {
    50: '#70506b',
    500: '#380e34',
    950: '#000000',
  },
}
SCSS
$custom: #380e34;
$custom-light: #70506b;
$custom-dark: #000000;
JSON
{
  "hex": "#380e34",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 305.714,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.08521,
    "h": 331.8
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#380E34
secondary
#2F7335
accent
#E35445
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #380E34

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

Preview Lab → · Contrast checker → · Palette generator →

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