#381464#381464

#381464 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 298.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#381464
RGBrgb(56, 20, 100)
HSLhsl(267, 67%, 24%)
HSVhsv(267, 80%, 39%)
CMYKcmyk(44%, 80%, 0%, 60.8%)
CIE-LABlab(16.80, 35.11, -40.05)
CIE-LCHlch(16.80, 53.26, 311.24°)
OKLaboklab(29.86% 0.0622 -0.1145)
OKLCHoklch(29.86% 0.13 298.5)
XYZxyz(4.1807, 2.2611, 12.2703)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381464 #406414
analogous
#141864 #381464 #601464
triadic
#381464 #643814 #146438
tetradic
#381464 #641418 #406414 #146460
square
#381464 #641418 #406414 #146460
split-complementary
#381464 #646014 #186414
monochromatic
#0E051A #1B0A31 #381464 #551E97 #7128CA

Accessibility & contrast

On white

14.46
#381464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#381464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381464
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381464#FFFFFF#000000##FFFFFF
##3814641.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#2D293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381464;
/* rgb */ color: rgb(56, 20, 100);
/* oklch */ color: oklch(29.9% 0.130 298.5);
Tailwind
colors: {
  custom: {
    50: '#745691',
    500: '#381464',
    950: '#000000',
  },
}
SCSS
$custom: #381464;
$custom-light: #745691;
$custom-dark: #000000;
JSON
{
  "hex": "#381464",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 267,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29861,
    "c": 0.13033,
    "h": 298.5
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#381464
secondary
#6F9B38
accent
#EA3E9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381464

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

Preview Lab → · Contrast checker → · Palette generator →

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