#380E5B#380E5B

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

Color values

HEX#380E5B
RGBrgb(56, 14, 91)
HSLhsl(273, 73%, 21%)
HSVhsv(273, 85%, 36%)
CMYKcmyk(38.5%, 84.6%, 0%, 64.3%)
CIE-LABlab(15.01, 35.43, -36.98)
CIE-LCHlch(15.01, 51.21, 313.77°)
OKLaboklab(28.35% 0.0705 -0.1055)
OKLCHoklch(28.35% 0.127 303.7)
XYZxyz(3.6758, 1.9102, 10.0705)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E5B #315B0E
analogous
#110E5B #380E5B #5B0E57
triadic
#380E5B #5B380E #0E5B38
tetradic
#380E5B #5B110E #315B0E #0E575B
square
#380E5B #5B110E #315B0E #0E575B
split-complementary
#380E5B #575B0E #0E5B11
monochromatic
#10041B #170626 #380E5B #591690 #791EC5

Accessibility & contrast

On white

15.20
#380E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E5B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E5B#FFFFFF#000000##FFFFFF
##380E5B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380e5b;
/* rgb */ color: rgb(56, 14, 91);
/* oklch */ color: oklch(28.3% 0.127 303.7);
Tailwind
colors: {
  custom: {
    50: '#73528a',
    500: '#380e5b',
    950: '#000000',
  },
}
SCSS
$custom: #380e5b;
$custom-light: #73528a;
$custom-dark: #000000;
JSON
{
  "hex": "#380e5b",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28345,
    "c": 0.12684,
    "h": 303.7
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#380E5B
secondary
#5E9530
accent
#F0388C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #380E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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