#380F53#380F53

#380F53 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.117 H 307.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#380F53
RGBrgb(56, 15, 83)
HSLhsl(276, 69%, 19%)
HSVhsv(276, 82%, 33%)
CMYKcmyk(32.5%, 81.9%, 0%, 67.5%)
CIE-LABlab(14.44, 32.94, -32.50)
CIE-LCHlch(14.44, 46.27, 315.38°)
OKLaboklab(27.72% 0.0716 -0.0923)
OKLCHoklch(27.72% 0.117 307.8)
XYZxyz(3.3627, 1.8070, 8.3536)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F53 #2A530F
analogous
#160F53 #380F53 #530F4C
triadic
#380F53 #53380F #0F5338
tetradic
#380F53 #53160F #2A530F #0F4C53
square
#380F53 #53160F #2A530F #0F4C53
split-complementary
#380F53 #4C530F #0F5316
monochromatic
#11051A #15061F #380F53 #5B1887 #7E22BB

Accessibility & contrast

On white

15.43
#380F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F53
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F53#FFFFFF#000000##FFFFFF
##380F531.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#342030
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #380f53;
/* rgb */ color: rgb(56, 15, 83);
/* oklch */ color: oklch(27.7% 0.117 307.8);
Tailwind
colors: {
  custom: {
    50: '#725284',
    500: '#380f53',
    950: '#000000',
  },
}
SCSS
$custom: #380f53;
$custom-light: #725284;
$custom-dark: #000000;
JSON
{
  "hex": "#380f53",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 276.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.11683,
    "h": 307.8
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#380F53
secondary
#558D31
accent
#EC3C82
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380F53

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

Preview Lab → · Contrast checker → · Palette generator →

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