#380E57#380E57

#380E57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.122 H 305.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#380E57
RGBrgb(56, 14, 87)
HSLhsl(275, 72%, 20%)
HSVhsv(275, 84%, 34%)
CMYKcmyk(35.6%, 83.9%, 0%, 65.9%)
CIE-LABlab(14.64, 34.40, -34.89)
CIE-LCHlch(14.64, 48.99, 314.59°)
OKLaboklab(27.97% 0.0716 -0.0993)
OKLCHoklch(27.97% 0.122 305.8)
XYZxyz(3.5078, 1.8430, 9.1859)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E57 #2D570E
analogous
#140E57 #380E57 #570E51
triadic
#380E57 #57380E #0E5738
tetradic
#380E57 #57140E #2D570E #0E5157
square
#380E57 #57140E #2D570E #0E5157
split-complementary
#380E57 #51570E #0E5714
monochromatic
#11041A #160622 #380E57 #5A168C #7C1FC0

Accessibility & contrast

On white

15.34
#380E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#380E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E57
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E57#FFFFFF#000000##FFFFFF
##380E571.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380e57;
/* rgb */ color: rgb(56, 14, 87);
/* oklch */ color: oklch(28.0% 0.122 305.8);
Tailwind
colors: {
  custom: {
    50: '#735287',
    500: '#380e57',
    950: '#000000',
  },
}
SCSS
$custom: #380e57;
$custom-light: #735287;
$custom-dark: #000000;
JSON
{
  "hex": "#380e57",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 274.521,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27973,
    "c": 0.12244,
    "h": 305.8
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#380E57
secondary
#599130
accent
#EF3986
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380E57

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

Preview Lab → · Contrast checker → · Palette generator →

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