#380D4F#380D4F

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

Color values

HEX#380D4F
RGBrgb(56, 13, 79)
HSLhsl(279, 72%, 18%)
HSVhsv(279, 84%, 31%)
CMYKcmyk(29.1%, 83.5%, 0%, 69%)
CIE-LABlab(13.79, 32.82, -30.83)
CIE-LCHlch(13.79, 45.03, 316.79°)
OKLaboklab(27.15% 0.0746 -0.0874)
OKLCHoklch(27.15% 0.115 310.5)
XYZxyz(3.1858, 1.6932, 7.5546)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D4F #244F0D
analogous
#170D4F #380D4F #4F0D45
triadic
#380D4F #4F380D #0D4F38
tetradic
#380D4F #4F170D #244F0D #0D454F
square
#380D4F #4F170D #244F0D #0D454F
split-complementary
#380D4F #454F0D #0D4F17
monochromatic
#13041A #13041A #380D4F #5D1684 #831EB8

Accessibility & contrast

On white

15.69
#380D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D4F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D4F#FFFFFF#000000##FFFFFF
##380D4F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#01244E
Tritanopia (blue-blind)
#351D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380d4f;
/* rgb */ color: rgb(56, 13, 79);
/* oklch */ color: oklch(27.2% 0.115 310.5);
Tailwind
colors: {
  custom: {
    50: '#725181',
    500: '#380d4f',
    950: '#000000',
  },
}
SCSS
$custom: #380d4f;
$custom-light: #725181;
$custom-dark: #000000;
JSON
{
  "hex": "#380d4f",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 279.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27153,
    "c": 0.11489,
    "h": 310.5
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#380D4F
secondary
#4E8A2E
accent
#EE3978
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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