#381764#381764

#381764 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.127 H 297.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#381764
RGBrgb(56, 23, 100)
HSLhsl(266, 63%, 24%)
HSVhsv(266, 77%, 39%)
CMYKcmyk(44%, 77%, 0%, 60.8%)
CIE-LABlab(17.34, 33.59, -39.18)
CIE-LCHlch(17.34, 51.61, 310.61°)
OKLaboklab(30.24% 0.0592 -0.112)
OKLCHoklch(30.24% 0.127 297.8)
XYZxyz(4.2369, 2.3736, 12.2890)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381764 #436417
analogous
#171D64 #381764 #5F1764
triadic
#381764 #643817 #176438
tetradic
#381764 #64171D #436417 #17645F
square
#381764 #64171D #436417 #17645F
split-complementary
#381764 #645F17 #1D6417
monochromatic
#0E0619 #1C0C32 #381764 #542296 #702EC8

Accessibility & contrast

On white

14.24
#381764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#381764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381764
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381764#FFFFFF#000000##FFFFFF
##3817641.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2D2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381764;
/* rgb */ color: rgb(56, 23, 100);
/* oklch */ color: oklch(30.2% 0.127 297.8);
Tailwind
colors: {
  custom: {
    50: '#735791',
    500: '#381764',
    950: '#000000',
  },
}
SCSS
$custom: #381764;
$custom-light: #735791;
$custom-dark: #000000;
JSON
{
  "hex": "#381764",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 265.714,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.12666,
    "h": 297.8
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#381764
secondary
#729A3C
accent
#E642A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #381764

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

Preview Lab → · Contrast checker → · Palette generator →

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