#382195#382195

#382195 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.176 H 282.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#382195
RGBrgb(56, 33, 149)
HSLhsl(252, 64%, 36%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(62.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(23.99, 43.01, -59.46)
CIE-LCHlch(23.99, 73.38, 305.88°)
OKLaboklab(36.39% 0.0376 -0.1715)
OKLCHoklch(36.39% 0.176 282.4)
XYZxyz(7.5979, 4.0979, 28.8185)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382195 #7E9521
analogous
#214495 #382195 #722195
triadic
#382195 #953821 #219538
tetradic
#382195 #952144 #7E9521 #219572
square
#382195 #952144 #7E9521 #219572
split-complementary
#382195 #957221 #449521
monochromatic
#120B31 #251663 #382195 #4B2CC7 #7157DA

Accessibility & contrast

On white

11.54
#382195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#382195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382195
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382195#FFFFFF#000000##FFFFFF
##3821951.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382195;
/* rgb */ color: rgb(56, 33, 149);
/* oklch */ color: oklch(36.4% 0.176 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#382195',
    950: '#000000',
  },
}
SCSS
$custom: #382195;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382195",
  "rgb": {
    "r": 56,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 251.897,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36388,
    "c": 0.17554,
    "h": 282.4
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#382195
secondary
#A9BE54
accent
#E741C6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #382195

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

Preview Lab → · Contrast checker → · Palette generator →

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