#380F46#380F46

#380F46 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.102 H 316.1°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#380F46
RGBrgb(56, 15, 70)
HSLhsl(285, 65%, 17%)
HSVhsv(285, 79%, 27%)
CMYKcmyk(20%, 78.6%, 0%, 72.5%)
CIE-LABlab(13.38, 29.73, -25.26)
CIE-LCHlch(13.38, 39.01, 319.65°)
OKLaboklab(26.63% 0.0738 -0.071)
OKLCHoklch(26.63% 0.102 316.1)
XYZxyz(2.9070, 1.6247, 5.9536)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F46 #1D460F
analogous
#1D0F46 #380F46 #460F39
triadic
#380F46 #46380F #0F4638
tetradic
#380F46 #461D0F #1D460F #0F3946
square
#380F46 #461D0F #1D460F #0F3946
split-complementary
#380F46 #39460F #0F461D
monochromatic
#140519 #140519 #380F46 #601A78 #8925AB

Accessibility & contrast

On white

15.85
#380F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F46
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F46#FFFFFF#000000##FFFFFF
##380F461.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#0F2345
Tritanopia (blue-blind)
#371A29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380f46;
/* rgb */ color: rgb(56, 15, 70);
/* oklch */ color: oklch(26.6% 0.102 316.1);
Tailwind
colors: {
  custom: {
    50: '#71527a',
    500: '#380f46',
    950: '#000000',
  },
}
SCSS
$custom: #380f46;
$custom-light: #71527a;
$custom-dark: #000000;
JSON
{
  "hex": "#380f46",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 284.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26634,
    "c": 0.10244,
    "h": 316.1
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#380F46
secondary
#458030
accent
#E8406B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F46

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

Preview Lab → · Contrast checker → · Palette generator →

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