#380A45#380A45

#380A45 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.108 H 317.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#380A45
RGBrgb(56, 10, 69)
HSLhsl(287, 75%, 15%)
HSVhsv(287, 86%, 27%)
CMYKcmyk(18.8%, 85.5%, 0%, 72.9%)
CIE-LABlab(12.53, 31.70, -25.93)
CIE-LCHlch(12.53, 40.95, 320.72°)
OKLaboklab(26.01% 0.0796 -0.073)
OKLCHoklch(26.01% 0.108 317.5)
XYZxyz(2.8134, 1.4876, 5.7680)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A45 #17450A
analogous
#1A0A45 #380A45 #450A34
triadic
#380A45 #45380A #0A4538
tetradic
#380A45 #451A0A #17450A #0A3445
square
#380A45 #451A0A #17450A #0A3445
split-complementary
#380A45 #34450A #0A451A
monochromatic
#16041B #16041B #380A45 #63127A #8F19B0

Accessibility & contrast

On white

16.18
#380A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380A45
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A45#FFFFFF#000000##FFFFFF
##380A451.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#0C2244
Tritanopia (blue-blind)
#371727
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #380a45;
/* rgb */ color: rgb(56, 10, 69);
/* oklch */ color: oklch(26.0% 0.108 317.5);
Tailwind
colors: {
  custom: {
    50: '#714f79',
    500: '#380a45',
    950: '#000000',
  },
}
SCSS
$custom: #380a45;
$custom-light: #714f79;
$custom-dark: #000000;
JSON
{
  "hex": "#380a45",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 286.78,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26005,
    "c": 0.10798,
    "h": 317.5
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#380A45
secondary
#3C8229
accent
#F13660
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380A45

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

Preview Lab → · Contrast checker → · Palette generator →

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