#380F3F#380F3F

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

Color values

HEX#380F3F
RGBrgb(56, 15, 63)
HSLhsl(291, 62%, 15%)
HSVhsv(291, 76%, 25%)
CMYKcmyk(11.1%, 76.2%, 0%, 75.3%)
CIE-LABlab(12.87, 28.10, -21.16)
CIE-LCHlch(12.87, 35.18, 323.03°)
OKLaboklab(26.1% 0.0742 -0.059)
OKLCHoklch(26.1% 0.095 321.5)
XYZxyz(2.6988, 1.5414, 4.8570)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F3F #163F0F
analogous
#200F3F #380F3F #3F0F2E
triadic
#380F3F #3F380F #0F3F38
tetradic
#380F3F #3F200F #163F0F #0F2E3F
square
#380F3F #3F200F #163F0F #0F2E3F
split-complementary
#380F3F #2E3F0F #0F3F20
monochromatic
#160619 #160619 #380F3F #641B70 #9027A2

Accessibility & contrast

On white

16.05
#380F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F3F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F3F#FFFFFF#000000##FFFFFF
##380F3F1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#391725
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380f3f;
/* rgb */ color: rgb(56, 15, 63);
/* oklch */ color: oklch(26.1% 0.095 321.5);
Tailwind
colors: {
  custom: {
    50: '#715174',
    500: '#380f3f',
    950: '#000000',
  },
}
SCSS
$custom: #380f3f;
$custom-light: #715174;
$custom-dark: #000000;
JSON
{
  "hex": "#380f3f",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 291.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26104,
    "c": 0.09486,
    "h": 321.5
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#380F3F
secondary
#3B7930
accent
#E5435B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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