#380C43#380C43

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

Color values

HEX#380C43
RGBrgb(56, 12, 67)
HSLhsl(288, 70%, 15%)
HSVhsv(288, 82%, 26%)
CMYKcmyk(16.4%, 82.1%, 0%, 73.7%)
CIE-LABlab(12.67, 30.41, -24.30)
CIE-LCHlch(12.67, 38.93, 321.37°)
OKLaboklab(26.05% 0.0777 -0.0682)
OKLCHoklch(26.05% 0.103 318.7)
XYZxyz(2.7753, 1.5091, 5.4542)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C43 #17430C
analogous
#1C0C43 #380C43 #430C32
triadic
#380C43 #43380C #0C4338
tetradic
#380C43 #431C0C #17430C #0C3243
square
#380C43 #431C0C #17430C #0C3243
split-complementary
#380C43 #32430C #0C431C
monochromatic
#16051A #16051A #380C43 #631577 #8F1FAB

Accessibility & contrast

On white

16.13
#380C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#380C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C43
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C43#FFFFFF#000000##FFFFFF
##380C431.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#381726
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380c43;
/* rgb */ color: rgb(56, 12, 67);
/* oklch */ color: oklch(26.1% 0.103 318.7);
Tailwind
colors: {
  custom: {
    50: '#715077',
    500: '#380c43',
    950: '#000000',
  },
}
SCSS
$custom: #380c43;
$custom-light: #715077;
$custom-dark: #000000;
JSON
{
  "hex": "#380c43",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 288,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26052,
    "c": 0.1034,
    "h": 318.7
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#380C43
secondary
#3C7F2C
accent
#EC3B5F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380C43

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

Preview Lab → · Contrast checker → · Palette generator →

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