#380D5D#380D5D

#380D5D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.130 H 302.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#380D5D
RGBrgb(56, 13, 93)
HSLhsl(272, 75%, 21%)
HSVhsv(272, 86%, 36%)
CMYKcmyk(39.8%, 86%, 0%, 63.5%)
CIE-LABlab(15.06, 36.36, -38.25)
CIE-LCHlch(15.06, 52.77, 313.55°)
OKLaboklab(28.44% 0.0707 -0.1092)
OKLCHoklch(28.44% 0.13 302.9)
XYZxyz(3.7501, 1.9189, 10.5266)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D5D #325D0D
analogous
#100D5D #380D5D #5D0D5A
triadic
#380D5D #5D380D #0D5D38
tetradic
#380D5D #5D100D #325D0D #0D5A5D
square
#380D5D #5D100D #325D0D #0D5A5D
split-complementary
#380D5D #5A5D0D #0D5D10
monochromatic
#10041B #180527 #380D5D #581593 #791CC8

Accessibility & contrast

On white

15.18
#380D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#380D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D5D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D5D#FFFFFF#000000##FFFFFF
##380D5D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#302335
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380d5d;
/* rgb */ color: rgb(56, 13, 93);
/* oklch */ color: oklch(28.4% 0.130 302.9);
Tailwind
colors: {
  custom: {
    50: '#73528c',
    500: '#380d5d',
    950: '#000000',
  },
}
SCSS
$custom: #380d5d;
$custom-light: #73528c;
$custom-dark: #000000;
JSON
{
  "hex": "#380d5d",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 272.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28436,
    "c": 0.13007,
    "h": 302.9
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#380D5D
secondary
#5F972F
accent
#F2368D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #380D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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