#381677#381677

#381677 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.151 H 291.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#381677
RGBrgb(56, 22, 119)
HSLhsl(261, 69%, 28%)
HSVhsv(261, 82%, 47%)
CMYKcmyk(52.9%, 81.5%, 0%, 53.3%)
CIE-LABlab(19.00, 39.53, -48.82)
CIE-LCHlch(19.00, 62.81, 309.00°)
OKLaboklab(31.97% 0.0546 -0.1403)
OKLCHoklch(31.97% 0.151 291.3)
XYZxyz(5.2466, 2.7463, 17.7028)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381677 #557716
analogous
#162477 #381677 #681677
triadic
#381677 #773816 #167738
tetradic
#381677 #771624 #557716 #167768
square
#381677 #771624 #557716 #167768
split-complementary
#381677 #776816 #247716
monochromatic
#0C051A #200C43 #381677 #5020AB #6A2FD9

Accessibility & contrast

On white

13.56
#381677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#381677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381677
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381677#FFFFFF#000000##FFFFFF
##3816771.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#223246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381677;
/* rgb */ color: rgb(56, 22, 119);
/* oklch */ color: oklch(32.0% 0.151 291.3);
Tailwind
colors: {
  custom: {
    50: '#76589f',
    500: '#381677',
    950: '#000000',
  },
}
SCSS
$custom: #381677;
$custom-light: #76589f;
$custom-dark: #000000;
JSON
{
  "hex": "#381677",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 261.031,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.15052,
    "h": 291.3
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#381677
secondary
#85AC3C
accent
#EC3CAE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #381677

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

Preview Lab → · Contrast checker → · Palette generator →

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