#381973#381973

#381973 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.143 H 292.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#381973
RGBrgb(56, 25, 115)
HSLhsl(261, 64%, 27%)
HSVhsv(261, 78%, 45%)
CMYKcmyk(51.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.11, 36.89, -46.05)
CIE-LCHlch(19.11, 59.01, 308.70°)
OKLaboklab(31.93% 0.0533 -0.1322)
OKLCHoklch(31.93% 0.143 292)
XYZxyz(5.0722, 2.7736, 16.4844)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381973 #547319
analogous
#192773 #381973 #651973
triadic
#381973 #733819 #197338
tetradic
#381973 #731927 #547319 #197365
square
#381973 #731927 #547319 #197365
split-complementary
#381973 #736519 #277319
monochromatic
#0C0519 #200E41 #381973 #5024A5 #6A34D3

Accessibility & contrast

On white

13.51
#381973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#381973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381973
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381973#FFFFFF#000000##FFFFFF
##3819731.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#253145
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381973;
/* rgb */ color: rgb(56, 25, 115);
/* oklch */ color: oklch(31.9% 0.143 292.0);
Tailwind
colors: {
  custom: {
    50: '#75599c',
    500: '#381973',
    950: '#000000',
  },
}
SCSS
$custom: #381973;
$custom-light: #75599c;
$custom-dark: #000000;
JSON
{
  "hex": "#381973",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 260.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31926,
    "c": 0.14255,
    "h": 292
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#381973
secondary
#84A840
accent
#E741AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381973

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

Preview Lab → · Contrast checker → · Palette generator →

#381973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva