#380D5C#380D5C

#380D5C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.129 H 303.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#380D5C
RGBrgb(56, 13, 92)
HSLhsl(273, 75%, 21%)
HSVhsv(273, 86%, 36%)
CMYKcmyk(39.1%, 85.9%, 0%, 63.9%)
CIE-LABlab(14.96, 36.10, -37.73)
CIE-LCHlch(14.96, 52.22, 313.73°)
OKLaboklab(28.34% 0.071 -0.1077)
OKLCHoklch(28.34% 0.129 303.4)
XYZxyz(3.7061, 1.9013, 10.2949)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D5C #315C0D
analogous
#100D5C #380D5C #5C0D58
triadic
#380D5C #5C380D #0D5C38
tetradic
#380D5C #5C100D #315C0D #0D585C
square
#380D5C #5C100D #315C0D #0D585C
split-complementary
#380D5C #585C0D #0D5C10
monochromatic
#10041B #170526 #380D5C #591592 #791CC7

Accessibility & contrast

On white

15.22
#380D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D5C
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D5C#FFFFFF#000000##FFFFFF
##380D5C1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#312335
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380d5c;
/* rgb */ color: rgb(56, 13, 92);
/* oklch */ color: oklch(28.3% 0.129 303.4);
Tailwind
colors: {
  custom: {
    50: '#73528b',
    500: '#380d5c',
    950: '#000000',
  },
}
SCSS
$custom: #380d5c;
$custom-light: #73528b;
$custom-dark: #000000;
JSON
{
  "hex": "#380d5c",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 272.658,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28341,
    "c": 0.12898,
    "h": 303.4
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#380D5C
secondary
#5E962F
accent
#F2368C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #380D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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