#380F54#380F54

#380F54 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.118 H 307.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#380F54
RGBrgb(56, 15, 84)
HSLhsl(276, 70%, 19%)
HSVhsv(276, 82%, 33%)
CMYKcmyk(33.3%, 82.1%, 0%, 67.1%)
CIE-LABlab(14.53, 33.19, -33.04)
CIE-LCHlch(14.53, 46.83, 315.13°)
OKLaboklab(27.81% 0.0714 -0.0939)
OKLCHoklch(27.81% 0.118 307.2)
XYZxyz(3.4016, 1.8225, 8.5584)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F54 #2B540F
analogous
#160F54 #380F54 #540F4E
triadic
#380F54 #54380F #0F5438
tetradic
#380F54 #54160F #2B540F #0F4E54
square
#380F54 #54160F #2B540F #0F4E54
split-complementary
#380F54 #4E540F #0F5416
monochromatic
#11051A #150620 #380F54 #5B1888 #7D22BC

Accessibility & contrast

On white

15.39
#380F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#380F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F54
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F54#FFFFFF#000000##FFFFFF
##380F541.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#332031
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #380f54;
/* rgb */ color: rgb(56, 15, 84);
/* oklch */ color: oklch(27.8% 0.118 307.2);
Tailwind
colors: {
  custom: {
    50: '#725285',
    500: '#380f54',
    950: '#000000',
  },
}
SCSS
$custom: #380f54;
$custom-light: #725285;
$custom-dark: #000000;
JSON
{
  "hex": "#380f54",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 275.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2781,
    "c": 0.11795,
    "h": 307.2
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#380F54
secondary
#578E31
accent
#ED3B83
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380F54

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

Preview Lab → · Contrast checker → · Palette generator →

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