#380E5F#380E5F

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

Color values

HEX#380E5F
RGBrgb(56, 14, 95)
HSLhsl(271, 74%, 21%)
HSVhsv(271, 85%, 37%)
CMYKcmyk(41.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(15.39, 36.47, -39.04)
CIE-LCHlch(15.39, 53.43, 313.05°)
OKLaboklab(28.73% 0.0692 -0.1115)
OKLCHoklch(28.73% 0.131 301.8)
XYZxyz(3.8530, 1.9810, 11.0036)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E5F #355F0E
analogous
#100E5F #380E5F #5F0E5E
triadic
#380E5F #5F380E #0E5F38
tetradic
#380E5F #5F100E #355F0E #0E5E5F
square
#380E5F #5F100E #355F0E #0E5E5F
split-complementary
#380E5F #5E5F0E #0E5F10
monochromatic
#10041B #19062A #380E5F #571694 #771ECA

Accessibility & contrast

On white

15.04
#380E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E5F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E5F#FFFFFF#000000##FFFFFF
##380E5F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#2F2437
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380e5f;
/* rgb */ color: rgb(56, 14, 95);
/* oklch */ color: oklch(28.7% 0.131 301.8);
Tailwind
colors: {
  custom: {
    50: '#73538d',
    500: '#380e5f',
    950: '#000000',
  },
}
SCSS
$custom: #380e5f;
$custom-light: #73538d;
$custom-dark: #000000;
JSON
{
  "hex": "#380e5f",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 271.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.13125,
    "h": 301.8
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#380E5F
secondary
#629930
accent
#F13790
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #380E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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