#380E53#380E53

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

Color values

HEX#380E53
RGBrgb(56, 14, 83)
HSLhsl(277, 71%, 19%)
HSVhsv(277, 83%, 33%)
CMYKcmyk(32.5%, 83.1%, 0%, 67.5%)
CIE-LABlab(14.28, 33.38, -32.75)
CIE-LCHlch(14.28, 46.77, 315.54°)
OKLaboklab(27.61% 0.0726 -0.093)
OKLCHoklch(27.61% 0.118 308)
XYZxyz(3.3489, 1.7794, 8.3490)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E53 #29530E
analogous
#160E53 #380E53 #530E4C
triadic
#380E53 #53380E #0E5338
tetradic
#380E53 #53160E #29530E #0E4C53
square
#380E53 #53160E #29530E #0E4C53
split-complementary
#380E53 #4C530E #0E5316
monochromatic
#12041A #15051F #380E53 #5B1787 #7F20BC

Accessibility & contrast

On white

15.49
#380E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E53
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E53#FFFFFF#000000##FFFFFF
##380E531.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#341F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380e53;
/* rgb */ color: rgb(56, 14, 83);
/* oklch */ color: oklch(27.6% 0.118 308.0);
Tailwind
colors: {
  custom: {
    50: '#725284',
    500: '#380e53',
    950: '#000000',
  },
}
SCSS
$custom: #380e53;
$custom-light: #725284;
$custom-dark: #000000;
JSON
{
  "hex": "#380e53",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 276.522,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27612,
    "c": 0.11805,
    "h": 308
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#380E53
secondary
#548D2F
accent
#EE3A80
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380E53

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

Preview Lab → · Contrast checker → · Palette generator →

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