#381E70#381E70

#381E70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.133 H 291.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#381E70
RGBrgb(56, 30, 112)
HSLhsl(259, 58%, 28%)
HSVhsv(259, 73%, 44%)
CMYKcmyk(50%, 73.2%, 0%, 56.1%)
CIE-LABlab(19.80, 33.28, -43.00)
CIE-LCHlch(19.80, 54.37, 307.74°)
OKLaboklab(32.32% 0.0492 -0.1232)
OKLCHoklch(32.32% 0.133 291.8)
XYZxyz(5.0190, 2.9390, 15.6289)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E70 #56701E
analogous
#1E2D70 #381E70 #611E70
triadic
#381E70 #70381E #1E7038
tetradic
#381E70 #701E2D #56701E #1E7061
square
#381E70 #701E2D #56701E #1E7061
split-complementary
#381E70 #70611E #2D701E
monochromatic
#0C0618 #201140 #381E70 #502BA0 #6A3DCB

Accessibility & contrast

On white

13.23
#381E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#381E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E70
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E70#FFFFFF#000000##FFFFFF
##381E701.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#263344
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #381e70;
/* rgb */ color: rgb(56, 30, 112);
/* oklch */ color: oklch(32.3% 0.133 291.8);
Tailwind
colors: {
  custom: {
    50: '#755c9a',
    500: '#381e70',
    950: '#000000',
  },
}
SCSS
$custom: #381e70;
$custom-light: #755c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#381e70",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 259.024,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32324,
    "c": 0.13272,
    "h": 291.8
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#381E70
secondary
#86A446
accent
#E147B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381E70

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

Preview Lab → · Contrast checker → · Palette generator →

#381E70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva