#381D70#381D70

#381D70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.134 H 292.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#381D70
RGBrgb(56, 29, 112)
HSLhsl(260, 59%, 28%)
HSVhsv(260, 74%, 44%)
CMYKcmyk(50%, 74.1%, 0%, 56.1%)
CIE-LABlab(19.59, 33.85, -43.33)
CIE-LCHlch(19.59, 54.98, 308.00°)
OKLaboklab(32.18% 0.0503 -0.1242)
OKLCHoklch(32.18% 0.134 292)
XYZxyz(4.9941, 2.8892, 15.6206)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D70 #55701D
analogous
#1D2C70 #381D70 #611D70
triadic
#381D70 #70381D #1D7038
tetradic
#381D70 #701D2C #55701D #1D7061
square
#381D70 #701D2C #55701D #1D7061
split-complementary
#381D70 #70611D #2C701D
monochromatic
#0C0618 #20103F #381D70 #502AA1 #6A3BCC

Accessibility & contrast

On white

13.31
#381D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#381D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D70
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D70#FFFFFF#000000##FFFFFF
##381D701.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#263244
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381d70;
/* rgb */ color: rgb(56, 29, 112);
/* oklch */ color: oklch(32.2% 0.134 292.0);
Tailwind
colors: {
  custom: {
    50: '#755b9a',
    500: '#381d70',
    950: '#000000',
  },
}
SCSS
$custom: #381d70;
$custom-light: #755b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#381d70",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 259.518,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32179,
    "c": 0.134,
    "h": 292
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#381D70
secondary
#85A444
accent
#E246AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381D70

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

Preview Lab → · Contrast checker → · Palette generator →

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