#380E4E#380E4E

#380E4E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.113 H 310.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#380E4E
RGBrgb(56, 14, 78)
HSLhsl(279, 70%, 18%)
HSVhsv(279, 82%, 31%)
CMYKcmyk(28.2%, 82.1%, 0%, 69.4%)
CIE-LABlab(13.86, 32.13, -30.03)
CIE-LCHlch(13.86, 43.98, 316.94°)
OKLaboklab(27.18% 0.0738 -0.085)
OKLCHoklch(27.18% 0.113 310.9)
XYZxyz(3.1628, 1.7050, 7.3687)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E4E #244E0E
analogous
#180E4E #380E4E #4E0E44
triadic
#380E4E #4E380E #0E4E38
tetradic
#380E4E #4E180E #244E0E #0E444E
square
#380E4E #4E180E #244E0E #0E444E
split-complementary
#380E4E #444E0E #0E4E18
monochromatic
#13051A #13051A #380E4E #5D1782 #8321B6

Accessibility & contrast

On white

15.66
#380E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E4E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E4E#FFFFFF#000000##FFFFFF
##380E4E1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#03244D
Tritanopia (blue-blind)
#351D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380e4e;
/* rgb */ color: rgb(56, 14, 78);
/* oklch */ color: oklch(27.2% 0.113 310.9);
Tailwind
colors: {
  custom: {
    50: '#725280',
    500: '#380e4e',
    950: '#000000',
  },
}
SCSS
$custom: #380e4e;
$custom-light: #725280;
$custom-dark: #000000;
JSON
{
  "hex": "#380e4e",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 279.375,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27175,
    "c": 0.11256,
    "h": 310.9
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#380E4E
secondary
#4E892F
accent
#EC3B78
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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