#380E5D#380E5D

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

Color values

HEX#380E5D
RGBrgb(56, 14, 93)
HSLhsl(272, 74%, 21%)
HSVhsv(272, 85%, 36%)
CMYKcmyk(39.8%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.20, 35.95, -38.02)
CIE-LCHlch(15.20, 52.32, 313.40°)
OKLaboklab(28.53% 0.0698 -0.1085)
OKLCHoklch(28.53% 0.129 302.8)
XYZxyz(3.7632, 1.9451, 10.5310)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E5D #335D0E
analogous
#100E5D #380E5D #5D0E5A
triadic
#380E5D #5D380E #0E5D38
tetradic
#380E5D #5D100E #335D0E #0E5A5D
square
#380E5D #5D100E #335D0E #0E5A5D
split-complementary
#380E5D #5A5D0E #0E5D10
monochromatic
#10041B #180628 #380E5D #581692 #781EC7

Accessibility & contrast

On white

15.12
#380E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#380E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E5D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E5D#FFFFFF#000000##FFFFFF
##380E5D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380e5d;
/* rgb */ color: rgb(56, 14, 93);
/* oklch */ color: oklch(28.5% 0.129 302.8);
Tailwind
colors: {
  custom: {
    50: '#73528c',
    500: '#380e5d',
    950: '#000000',
  },
}
SCSS
$custom: #380e5d;
$custom-light: #73528c;
$custom-dark: #000000;
JSON
{
  "hex": "#380e5d",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 271.899,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28534,
    "c": 0.12905,
    "h": 302.8
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#380E5D
secondary
#609730
accent
#F0378E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #380E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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