#380A46#380A46

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

Color values

HEX#380A46
RGBrgb(56, 10, 70)
HSLhsl(286, 75%, 16%)
HSVhsv(286, 86%, 27%)
CMYKcmyk(20%, 85.7%, 0%, 72.5%)
CIE-LABlab(12.61, 31.93, -26.50)
CIE-LCHlch(12.61, 41.49, 320.31°)
OKLaboklab(26.09% 0.0794 -0.0746)
OKLCHoklch(26.09% 0.109 316.8)
XYZxyz(2.8448, 1.5002, 5.9329)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A46 #18460A
analogous
#1A0A46 #380A46 #460A36
triadic
#380A46 #46380A #0A4638
tetradic
#380A46 #461A0A #18460A #0A3646
square
#380A46 #461A0A #18460A #0A3646
split-complementary
#380A46 #36460A #0A461A
monochromatic
#15041B #15041B #380A46 #63127C #8E19B1

Accessibility & contrast

On white

16.15
#380A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380A46
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A46#FFFFFF#000000##FFFFFF
##380A461.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#0A2245
Tritanopia (blue-blind)
#371728
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380a46;
/* rgb */ color: rgb(56, 10, 70);
/* oklch */ color: oklch(26.1% 0.109 316.8);
Tailwind
colors: {
  custom: {
    50: '#714f7a',
    500: '#380a46',
    950: '#000000',
  },
}
SCSS
$custom: #380a46;
$custom-light: #714f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#380a46",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 286,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26087,
    "c": 0.109,
    "h": 316.8
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#380A46
secondary
#3E8329
accent
#F23662
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380A46

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

Preview Lab → · Contrast checker → · Palette generator →

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