#380F43#380F43

#380F43 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.099 H 318.3°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#380F43
RGBrgb(56, 15, 67)
HSLhsl(287, 63%, 16%)
HSVhsv(287, 78%, 26%)
CMYKcmyk(16.4%, 77.6%, 0%, 73.7%)
CIE-LABlab(13.16, 29.02, -23.52)
CIE-LCHlch(13.16, 37.35, 320.98°)
OKLaboklab(26.4% 0.0741 -0.0659)
OKLCHoklch(26.4% 0.099 318.3)
XYZxyz(2.8147, 1.5878, 5.4673)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F43 #1A430F
analogous
#1E0F43 #380F43 #430F34
triadic
#380F43 #43380F #0F4338
tetradic
#380F43 #431E0F #1A430F #0F3443
square
#380F43 #431E0F #1A430F #0F3443
split-complementary
#380F43 #34430F #0F431E
monochromatic
#150619 #150619 #380F43 #621A75 #8C25A7

Accessibility & contrast

On white

15.94
#380F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F43
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F43#FFFFFF#000000##FFFFFF
##380F431.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380f43;
/* rgb */ color: rgb(56, 15, 67);
/* oklch */ color: oklch(26.4% 0.099 318.3);
Tailwind
colors: {
  custom: {
    50: '#715177',
    500: '#380f43',
    950: '#000000',
  },
}
SCSS
$custom: #380f43;
$custom-light: #715177;
$custom-dark: #000000;
JSON
{
  "hex": "#380f43",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 287.308,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26402,
    "c": 0.09917,
    "h": 318.3
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#380F43
secondary
#417D30
accent
#E64164
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F43

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

Preview Lab → · Contrast checker → · Palette generator →

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