#380D57#380D57

#380D57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.124 H 306.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#380D57
RGBrgb(56, 13, 87)
HSLhsl(275, 74%, 20%)
HSVhsv(275, 85%, 34%)
CMYKcmyk(35.6%, 85.1%, 0%, 65.9%)
CIE-LABlab(14.49, 34.82, -35.13)
CIE-LCHlch(14.49, 49.46, 314.75°)
OKLaboklab(27.87% 0.0725 -0.1)
OKLCHoklch(27.87% 0.124 306)
XYZxyz(3.4947, 1.8168, 9.1815)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D57 #2C570D
analogous
#130D57 #380D57 #570D51
triadic
#380D57 #57380D #0D5738
tetradic
#380D57 #57130D #2C570D #0D5157
square
#380D57 #57130D #2C570D #0D5157
split-complementary
#380D57 #51570D #0D5713
monochromatic
#11041B #160522 #380D57 #5A158C #7D1DC1

Accessibility & contrast

On white

15.40
#380D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D57
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D57#FFFFFF#000000##FFFFFF
##380D571.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380d57;
/* rgb */ color: rgb(56, 13, 87);
/* oklch */ color: oklch(27.9% 0.124 306.0);
Tailwind
colors: {
  custom: {
    50: '#735287',
    500: '#380d57',
    950: '#000000',
  },
}
SCSS
$custom: #380d57;
$custom-light: #735287;
$custom-dark: #000000;
JSON
{
  "hex": "#380d57",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 274.865,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27871,
    "c": 0.12355,
    "h": 306
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#380D57
secondary
#58922E
accent
#F13785
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380D57

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

Preview Lab → · Contrast checker → · Palette generator →

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