#380E38#380E38

#380E38 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.089 H 327.8°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#380E38
RGBrgb(56, 14, 56)
HSLhsl(300, 60%, 14%)
HSVhsv(300, 75%, 22%)
CMYKcmyk(0%, 75%, 0%, 78%)
CIE-LABlab(12.22, 27.07, -17.19)
CIE-LCHlch(12.22, 32.07, 327.59°)
OKLaboklab(25.49% 0.0755 -0.0475)
OKLCHoklch(25.49% 0.089 327.8)
XYZxyz(2.5017, 1.4405, 3.8869)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E38 #0E380E
analogous
#230E38 #380E38 #380E23
triadic
#380E38 #38380E #0E3838
tetradic
#380E38 #38230E #0E380E #0E2338
square
#380E38 #38230E #0E380E #0E2338
split-complementary
#380E38 #23380E #0E3823
monochromatic
#180618 #180618 #380E38 #691A69 #9A269A

Accessibility & contrast

On white

16.30
#380E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E38
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E38#FFFFFF#000000##FFFFFF
##380E381.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#182237
Tritanopia (blue-blind)
#3A1421
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #380e38;
/* rgb */ color: rgb(56, 14, 56);
/* oklch */ color: oklch(25.5% 0.089 327.8);
Tailwind
colors: {
  custom: {
    50: '#70506f',
    500: '#380e38',
    950: '#000000',
  },
}
SCSS
$custom: #380e38;
$custom-light: #70506f;
$custom-dark: #000000;
JSON
{
  "hex": "#380e38",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25488,
    "c": 0.08916,
    "h": 327.8
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#380E38
secondary
#2F732F
accent
#E34545
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #380E38

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

Preview Lab → · Contrast checker → · Palette generator →

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