#380F4D#380F4D

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

Color values

HEX#380F4D
RGBrgb(56, 15, 77)
HSLhsl(280, 67%, 18%)
HSVhsv(280, 81%, 30%)
CMYKcmyk(27.3%, 80.5%, 0%, 69.8%)
CIE-LABlab(13.93, 31.43, -29.21)
CIE-LCHlch(13.93, 42.91, 317.09°)
OKLaboklab(27.2% 0.0728 -0.0826)
OKLCHoklch(27.2% 0.11 311.4)
XYZxyz(3.1410, 1.7183, 7.1859)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4D #244D0F
analogous
#190F4D #380F4D #4D0F43
triadic
#380F4D #4D380F #0F4D38
tetradic
#380F4D #4D190F #244D0F #0F434D
square
#380F4D #4D190F #244D0F #0F434D
split-complementary
#380F4D #434D0F #0F4D19
monochromatic
#13051A #13051A #380F4D #5D1980 #8323B3

Accessibility & contrast

On white

15.63
#380F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F4D
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4D#FFFFFF#000000##FFFFFF
##380F4D1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#06244C
Tritanopia (blue-blind)
#351D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380f4d;
/* rgb */ color: rgb(56, 15, 77);
/* oklch */ color: oklch(27.2% 0.110 311.4);
Tailwind
colors: {
  custom: {
    50: '#71527f',
    500: '#380f4d',
    950: '#000000',
  },
}
SCSS
$custom: #380f4d;
$custom-light: #71527f;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4d",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 279.677,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27204,
    "c": 0.11016,
    "h": 311.4
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#380F4D
secondary
#4E8731
accent
#EA3E78
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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