#380E5E#380E5E

#380E5E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.130 H 302.3°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#380E5E
RGBrgb(56, 14, 94)
HSLhsl(272, 74%, 21%)
HSVhsv(272, 85%, 37%)
CMYKcmyk(40.4%, 85.1%, 0%, 63.1%)
CIE-LABlab(15.29, 36.21, -38.53)
CIE-LCHlch(15.29, 52.87, 313.22°)
OKLaboklab(28.63% 0.0695 -0.11)
OKLCHoklch(28.63% 0.13 302.3)
XYZxyz(3.8078, 1.9630, 10.7658)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E5E #345E0E
analogous
#100E5E #380E5E #5E0E5C
triadic
#380E5E #5E380E #0E5E38
tetradic
#380E5E #5E100E #345E0E #0E5C5E
square
#380E5E #5E100E #345E0E #0E5C5E
split-complementary
#380E5E #5C5E0E #0E5E10
monochromatic
#10041B #180629 #380E5E #581693 #771EC9

Accessibility & contrast

On white

15.08
#380E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E5E
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E5E#FFFFFF#000000##FFFFFF
##380E5E1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#302436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380e5e;
/* rgb */ color: rgb(56, 14, 94);
/* oklch */ color: oklch(28.6% 0.130 302.3);
Tailwind
colors: {
  custom: {
    50: '#73528c',
    500: '#380e5e',
    950: '#000000',
  },
}
SCSS
$custom: #380e5e;
$custom-light: #73528c;
$custom-dark: #000000;
JSON
{
  "hex": "#380e5e",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 271.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.13014,
    "h": 302.3
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#380E5E
secondary
#619830
accent
#F1378F
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #380E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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