#380A4D#380A4D

#380A4D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.116 H 312.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#380A4D
RGBrgb(56, 10, 77)
HSLhsl(281, 77%, 17%)
HSVhsv(281, 87%, 30%)
CMYKcmyk(27.3%, 87%, 0%, 69.8%)
CIE-LABlab(13.19, 33.56, -30.42)
CIE-LCHlch(13.19, 45.29, 317.81°)
OKLaboklab(26.68% 0.078 -0.0861)
OKLCHoklch(26.68% 0.116 312.2)
XYZxyz(3.0787, 1.5937, 7.1652)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A4D #1F4D0A
analogous
#170A4D #380A4D #4D0A41
triadic
#380A4D #4D380A #0A4D38
tetradic
#380A4D #4D170A #1F4D0A #0A414D
square
#380A4D #4D170A #1F4D0A #0A414D
split-complementary
#380A4D #414D0A #0A4D17
monochromatic
#14041B #14041B #380A4D #5F1183 #8718B9

Accessibility & contrast

On white

15.92
#380A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380A4D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A4D#FFFFFF#000000##FFFFFF
##380A4D1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#01234C
Tritanopia (blue-blind)
#351B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380a4d;
/* rgb */ color: rgb(56, 10, 77);
/* oklch */ color: oklch(26.7% 0.116 312.2);
Tailwind
colors: {
  custom: {
    50: '#72507f',
    500: '#380a4d',
    950: '#000000',
  },
}
SCSS
$custom: #380a4d;
$custom-light: #72507f;
$custom-dark: #000000;
JSON
{
  "hex": "#380a4d",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 77
  },
  "hsl": {
    "h": 281.194,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26681,
    "c": 0.11619,
    "h": 312.2
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#380A4D
secondary
#478A29
accent
#F43470
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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