#380F55#380F55

#380F55 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.119 H 306.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#380F55
RGBrgb(56, 15, 85)
HSLhsl(275, 70%, 20%)
HSVhsv(275, 82%, 33%)
CMYKcmyk(34.1%, 82.4%, 0%, 66.7%)
CIE-LABlab(14.61, 33.45, -33.58)
CIE-LCHlch(14.61, 47.39, 314.89°)
OKLaboklab(27.9% 0.0711 -0.0955)
OKLCHoklch(27.9% 0.119 306.7)
XYZxyz(3.4410, 1.8383, 8.7661)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F55 #2C550F
analogous
#150F55 #380F55 #550F4F
triadic
#380F55 #55380F #0F5538
tetradic
#380F55 #55150F #2C550F #0F4F55
square
#380F55 #55150F #2C550F #0F4F55
split-complementary
#380F55 #4F550F #0F5515
monochromatic
#11051A #160621 #380F55 #5A1889 #7D21BD

Accessibility & contrast

On white

15.36
#380F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#380F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F55
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F55#FFFFFF#000000##FFFFFF
##380F551.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380f55;
/* rgb */ color: rgb(56, 15, 85);
/* oklch */ color: oklch(27.9% 0.119 306.7);
Tailwind
colors: {
  custom: {
    50: '#725285',
    500: '#380f55',
    950: '#000000',
  },
}
SCSS
$custom: #380f55;
$custom-light: #725285;
$custom-dark: #000000;
JSON
{
  "hex": "#380f55",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 275.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27899,
    "c": 0.11906,
    "h": 306.7
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#380F55
secondary
#588F31
accent
#ED3B85
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380F55

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

Preview Lab → · Contrast checker → · Palette generator →

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