#381373#381373

#381373 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.149 H 293.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#381373
RGBrgb(56, 19, 115)
HSLhsl(263, 72%, 26%)
HSVhsv(263, 83%, 45%)
CMYKcmyk(51.3%, 83.5%, 0%, 54.9%)
CIE-LABlab(18.12, 39.76, -47.69)
CIE-LCHlch(18.12, 62.09, 309.82°)
OKLaboklab(31.23% 0.0583 -0.1369)
OKLCHoklch(31.23% 0.149 293.1)
XYZxyz(4.9574, 2.5441, 16.4462)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381373 #4E7313
analogous
#131E73 #381373 #681373
triadic
#381373 #733813 #137338
tetradic
#381373 #73131E #4E7313 #137368
square
#381373 #73131E #4E7313 #137368
split-complementary
#381373 #736813 #1E7313
monochromatic
#0D041A #1E0A3E #381373 #521CA8 #6B25DB

Accessibility & contrast

On white

13.92
#381373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#381373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381373
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381373#FFFFFF#000000##FFFFFF
##3813731.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#252F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381373;
/* rgb */ color: rgb(56, 19, 115);
/* oklch */ color: oklch(31.2% 0.149 293.1);
Tailwind
colors: {
  custom: {
    50: '#76569c',
    500: '#381373',
    950: '#000000',
  },
}
SCSS
$custom: #381373;
$custom-light: #76569c;
$custom-dark: #000000;
JSON
{
  "hex": "#381373",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 263.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.14882,
    "h": 293.1
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#381373
secondary
#7EAA38
accent
#EE39A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381373

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

Preview Lab → · Contrast checker → · Palette generator →

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