#380C53#380C53

#380C53 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.120 H 308.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#380C53
RGBrgb(56, 12, 83)
HSLhsl(277, 75%, 19%)
HSVhsv(277, 86%, 33%)
CMYKcmyk(32.5%, 85.5%, 0%, 67.5%)
CIE-LABlab(13.99, 34.23, -33.23)
CIE-LCHlch(13.99, 47.70, 315.85°)
OKLaboklab(27.41% 0.0746 -0.0944)
OKLCHoklch(27.41% 0.12 308.3)
XYZxyz(3.3234, 1.7283, 8.3405)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C53 #27530C
analogous
#140C53 #380C53 #530C4A
triadic
#380C53 #53380C #0C5338
tetradic
#380C53 #53140C #27530C #0C4A53
square
#380C53 #53140C #27530C #0C4A53
split-complementary
#380C53 #4A530C #0C5314
monochromatic
#12041B #14041E #380C53 #5C1488 #801BBE

Accessibility & contrast

On white

15.61
#380C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#380C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C53
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C53#FFFFFF#000000##FFFFFF
##380C531.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#341E30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380c53;
/* rgb */ color: rgb(56, 12, 83);
/* oklch */ color: oklch(27.4% 0.120 308.3);
Tailwind
colors: {
  custom: {
    50: '#725184',
    500: '#380c53',
    950: '#000000',
  },
}
SCSS
$custom: #380c53;
$custom-light: #725184;
$custom-dark: #000000;
JSON
{
  "hex": "#380c53",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 277.183,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27406,
    "c": 0.12033,
    "h": 308.3
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#380C53
secondary
#528E2D
accent
#F1367E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380C53

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

Preview Lab → · Contrast checker → · Palette generator →

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