#382094#382094

#382094 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.175 H 282.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#382094
RGBrgb(56, 32, 148)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.2%, 78.4%, 0%, 42%)
CIE-LABlab(23.71, 43.21, -59.31)
CIE-LCHlch(23.71, 73.38, 306.08°)
OKLaboklab(36.16% 0.0385 -0.171)
OKLCHoklch(36.16% 0.175 282.7)
XYZxyz(7.4910, 4.0114, 28.3908)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382094 #7C9420
analogous
#204294 #382094 #722094
triadic
#382094 #943820 #209438
tetradic
#382094 #942042 #7C9420 #209472
square
#382094 #942042 #7C9420 #209472
split-complementary
#382094 #947220 #429420
monochromatic
#120A2F #251562 #382094 #4B2BC6 #7054DA

Accessibility & contrast

On white

11.65
#382094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#382094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382094
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382094#FFFFFF#000000##FFFFFF
##3820941.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382094;
/* rgb */ color: rgb(56, 32, 148);
/* oklch */ color: oklch(36.2% 0.175 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b5fb5',
    500: '#382094',
    950: '#000000',
  },
}
SCSS
$custom: #382094;
$custom-light: #7b5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#382094",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 252.414,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36159,
    "c": 0.1753,
    "h": 282.7
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#382094
secondary
#A7BE52
accent
#E740C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382094

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

Preview Lab → · Contrast checker → · Palette generator →

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