#380F5E#380F5E

#380F5E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.129 H 302.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#380F5E
RGBrgb(56, 15, 94)
HSLhsl(271, 72%, 21%)
HSVhsv(271, 84%, 37%)
CMYKcmyk(40.4%, 84%, 0%, 63.1%)
CIE-LABlab(15.44, 35.79, -38.29)
CIE-LCHlch(15.44, 52.41, 313.06°)
OKLaboklab(28.73% 0.0686 -0.1093)
OKLCHoklch(28.73% 0.129 302.1)
XYZxyz(3.8216, 1.9905, 10.7704)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F5E #355E0F
analogous
#110F5E #380F5E #5E0F5D
triadic
#380F5E #5E380F #0F5E38
tetradic
#380F5E #5E110F #355E0F #0F5D5E
square
#380F5E #5E110F #355E0F #0F5D5E
split-complementary
#380F5E #5D5E0F #0F5E11
monochromatic
#10041A #190729 #380F5E #571793 #7720C8

Accessibility & contrast

On white

15.02
#380F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#380F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F5E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F5E#FFFFFF#000000##FFFFFF
##380F5E1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#302436
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #380f5e;
/* rgb */ color: rgb(56, 15, 94);
/* oklch */ color: oklch(28.7% 0.129 302.1);
Tailwind
colors: {
  custom: {
    50: '#73538c',
    500: '#380f5e',
    950: '#000000',
  },
}
SCSS
$custom: #380f5e;
$custom-light: #73538c;
$custom-dark: #000000;
JSON
{
  "hex": "#380f5e",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 271.139,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28732,
    "c": 0.12909,
    "h": 302.1
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#380F5E
secondary
#629731
accent
#EF3990
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #380F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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