#382095#382095

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

Color values

HEX#382095
RGBrgb(56, 32, 149)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 58%)
CMYKcmyk(62.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.81, 43.52, -59.75)
CIE-LCHlch(23.81, 73.92, 306.07°)
OKLaboklab(36.26% 0.0382 -0.1723)
OKLCHoklch(36.26% 0.177 282.5)
XYZxyz(7.5705, 4.0432, 28.8094)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382095 #7D9520
analogous
#204295 #382095 #732095
triadic
#382095 #953820 #209538
tetradic
#382095 #952042 #7D9520 #209573
square
#382095 #952042 #7D9520 #209573
split-complementary
#382095 #957320 #429520
monochromatic
#120A30 #251563 #382095 #4B2BC7 #7055DA

Accessibility & contrast

On white

11.61
#382095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382095
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382095#FFFFFF#000000##FFFFFF
##3820951.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382095;
/* rgb */ color: rgb(56, 32, 149);
/* oklch */ color: oklch(36.3% 0.177 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b5fb5',
    500: '#382095',
    950: '#000000',
  },
}
SCSS
$custom: #382095;
$custom-light: #7b5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#382095",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 252.308,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.17651,
    "h": 282.5
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#382095
secondary
#A8BE53
accent
#E840C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #382095

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

Preview Lab → · Contrast checker → · Palette generator →

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