#382194#382194

#382194 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.174 H 282.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#382194
RGBrgb(56, 33, 148)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.2%, 77.7%, 0%, 42%)
CIE-LABlab(23.89, 42.70, -59.01)
CIE-LCHlch(23.89, 72.84, 305.89°)
OKLaboklab(36.29% 0.0378 -0.1702)
OKLCHoklch(36.29% 0.174 282.5)
XYZxyz(7.5184, 4.0661, 28.3999)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382194 #7D9421
analogous
#214394 #382194 #712194
triadic
#382194 #943821 #219438
tetradic
#382194 #942143 #7D9421 #219471
square
#382194 #942143 #7D9421 #219471
split-complementary
#382194 #947121 #439421
monochromatic
#120B30 #251662 #382194 #4B2CC6 #7056D9

Accessibility & contrast

On white

11.58
#382194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#382194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382194
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382194#FFFFFF#000000##FFFFFF
##3821941.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382194;
/* rgb */ color: rgb(56, 33, 148);
/* oklch */ color: oklch(36.3% 0.174 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#382194',
    950: '#000000',
  },
}
SCSS
$custom: #382194;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382194",
  "rgb": {
    "r": 56,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 252,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.17433,
    "h": 282.5
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#382194
secondary
#A8BD54
accent
#E741C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382194

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

Preview Lab → · Contrast checker → · Palette generator →

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