#381570#381570

#381570 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.143 H 293.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#381570
RGBrgb(56, 21, 112)
HSLhsl(263, 68%, 26%)
HSVhsv(263, 81%, 44%)
CMYKcmyk(50%, 81.2%, 0%, 56.1%)
CIE-LABlab(18.13, 38.00, -45.73)
CIE-LCHlch(18.13, 59.46, 309.73°)
OKLaboklab(31.15% 0.0577 -0.1312)
OKLCHoklch(31.15% 0.143 293.7)
XYZxyz(4.8229, 2.5468, 15.5636)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381570 #4D7015
analogous
#151F70 #381570 #651570
triadic
#381570 #703815 #157038
tetradic
#381570 #70151F #4D7015 #157065
square
#381570 #70151F #4D7015 #157065
split-complementary
#381570 #706515 #1F7015
monochromatic
#0D051A #1E0B3C #381570 #521FA4 #6C29D7

Accessibility & contrast

On white

13.91
#381570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381570
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381570#FFFFFF#000000##FFFFFF
##3815701.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381570;
/* rgb */ color: rgb(56, 21, 112);
/* oklch */ color: oklch(31.1% 0.143 293.7);
Tailwind
colors: {
  custom: {
    50: '#75579a',
    500: '#381570',
    950: '#000000',
  },
}
SCSS
$custom: #381570;
$custom-light: #75579a;
$custom-dark: #000000;
JSON
{
  "hex": "#381570",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.14333,
    "h": 293.7
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#381570
secondary
#7DA63B
accent
#EB3DA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381570

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

Preview Lab → · Contrast checker → · Palette generator →

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