#380C57#380C57

#380C57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.125 H 306.1°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#380C57
RGBrgb(56, 12, 87)
HSLhsl(275, 76%, 19%)
HSVhsv(275, 86%, 34%)
CMYKcmyk(35.6%, 86.2%, 0%, 65.9%)
CIE-LABlab(14.35, 35.23, -35.35)
CIE-LCHlch(14.35, 49.91, 314.90°)
OKLaboklab(27.77% 0.0734 -0.1007)
OKLCHoklch(27.77% 0.125 306.1)
XYZxyz(3.4823, 1.7918, 9.1774)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C57 #2B570C
analogous
#130C57 #380C57 #570C51
triadic
#380C57 #57380C #0C5738
tetradic
#380C57 #57130C #2B570C #0C5157
square
#380C57 #57130C #2B570C #0C5157
split-complementary
#380C57 #51570C #0C5713
monochromatic
#11041B #150521 #380C57 #5B138D #7D1BC3

Accessibility & contrast

On white

15.46
#380C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#380C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C57
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C57#FFFFFF#000000##FFFFFF
##380C571.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#322032
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380c57;
/* rgb */ color: rgb(56, 12, 87);
/* oklch */ color: oklch(27.8% 0.125 306.1);
Tailwind
colors: {
  custom: {
    50: '#735187',
    500: '#380c57',
    950: '#000000',
  },
}
SCSS
$custom: #380c57;
$custom-light: #735187;
$custom-dark: #000000;
JSON
{
  "hex": "#380c57",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 275.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27773,
    "c": 0.12462,
    "h": 306.1
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#380C57
secondary
#57922D
accent
#F23584
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380C57

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

Preview Lab → · Contrast checker → · Palette generator →

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