#380F40#380F40

#380F40 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.096 H 320.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#380F40
RGBrgb(56, 15, 64)
HSLhsl(290, 62%, 15%)
HSVhsv(290, 77%, 25%)
CMYKcmyk(12.5%, 76.6%, 0%, 74.9%)
CIE-LABlab(12.94, 28.33, -21.75)
CIE-LCHlch(12.94, 35.72, 322.48°)
OKLaboklab(26.18% 0.0742 -0.0608)
OKLCHoklch(26.18% 0.096 320.7)
XYZxyz(2.7270, 1.5527, 5.0056)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F40 #17400F
analogous
#1F0F40 #380F40 #400F2F
triadic
#380F40 #40380F #0F4038
tetradic
#380F40 #401F0F #17400F #0F2F40
square
#380F40 #401F0F #17400F #0F2F40
split-complementary
#380F40 #2F400F #0F401F
monochromatic
#160619 #160619 #380F40 #631B72 #8F26A3

Accessibility & contrast

On white

16.02
#380F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F40
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F40#FFFFFF#000000##FFFFFF
##380F401.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#14233F
Tritanopia (blue-blind)
#381826
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380f40;
/* rgb */ color: rgb(56, 15, 64);
/* oklch */ color: oklch(26.2% 0.096 320.7);
Tailwind
colors: {
  custom: {
    50: '#715175',
    500: '#380f40',
    950: '#000000',
  },
}
SCSS
$custom: #380f40;
$custom-light: #715175;
$custom-dark: #000000;
JSON
{
  "hex": "#380f40",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 290.204,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26177,
    "c": 0.09592,
    "h": 320.7
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#380F40
secondary
#3C7A30
accent
#E5435D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380F40

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

Preview Lab → · Contrast checker → · Palette generator →

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