#382494#382494

#382494 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.171 H 282.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#382494
RGBrgb(56, 36, 148)
HSLhsl(251, 61%, 36%)
HSVhsv(251, 76%, 58%)
CMYKcmyk(62.2%, 75.7%, 0%, 42%)
CIE-LABlab(24.45, 41.11, -58.09)
CIE-LCHlch(24.45, 71.16, 305.29°)
OKLaboklab(36.68% 0.0358 -0.1675)
OKLCHoklch(36.68% 0.171 282.1)
XYZxyz(7.6054, 4.2401, 28.4289)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382494 #809424
analogous
#244894 #382494 #702494
triadic
#382494 #943824 #249438
tetradic
#382494 #942448 #809424 #249470
square
#382494 #942448 #809424 #249470
split-complementary
#382494 #947024 #489424
monochromatic
#130C32 #251863 #382494 #4B30C5 #715BD7

Accessibility & contrast

On white

11.36
#382494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#382494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382494
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382494#FFFFFF#000000##FFFFFF
##3824941.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382494;
/* rgb */ color: rgb(56, 36, 148);
/* oklch */ color: oklch(36.7% 0.171 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b61b5',
    500: '#382494',
    950: '#000000',
  },
}
SCSS
$custom: #382494;
$custom-light: #7b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382494",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 250.714,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.17127,
    "h": 282.1
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#382494
secondary
#AABC58
accent
#E444C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382494

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

Preview Lab → · Contrast checker → · Palette generator →

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