#381370#381370

#381370 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.145 H 294.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#381370
RGBrgb(56, 19, 112)
HSLhsl(264, 71%, 26%)
HSVhsv(264, 83%, 44%)
CMYKcmyk(50%, 83%, 0%, 56.1%)
CIE-LABlab(17.81, 38.92, -46.25)
CIE-LCHlch(17.81, 60.45, 310.08°)
OKLaboklab(30.93% 0.0593 -0.1327)
OKLCHoklch(30.93% 0.145 294.1)
XYZxyz(4.7876, 2.4762, 15.5518)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381370 #4B7013
analogous
#131C70 #381370 #661370
triadic
#381370 #703813 #137038
tetradic
#381370 #70131C #4B7013 #137066
square
#381370 #70131C #4B7013 #137066
split-complementary
#381370 #706613 #1C7013
monochromatic
#0D041A #1E0A3C #381370 #521CA4 #6C25D9

Accessibility & contrast

On white

14.04
#381370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381370
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381370#FFFFFF#000000##FFFFFF
##3813701.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#272E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381370;
/* rgb */ color: rgb(56, 19, 112);
/* oklch */ color: oklch(30.9% 0.145 294.1);
Tailwind
colors: {
  custom: {
    50: '#75569a',
    500: '#381370',
    950: '#000000',
  },
}
SCSS
$custom: #381370;
$custom-light: #75569a;
$custom-dark: #000000;
JSON
{
  "hex": "#381370",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 263.871,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30925,
    "c": 0.14537,
    "h": 294.1
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#381370
secondary
#7BA738
accent
#EE3AA6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381370

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

Preview Lab → · Contrast checker → · Palette generator →

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