#382885#382885

#382885 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.147 H 284.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#382885
RGBrgb(56, 40, 133)
HSLhsl(250, 54%, 34%)
HSVhsv(250, 70%, 52%)
CMYKcmyk(57.9%, 69.9%, 0%, 47.8%)
CIE-LABlab(23.84, 34.01, -49.76)
CIE-LCHlch(23.84, 60.27, 304.36°)
OKLaboklab(35.81% 0.0356 -0.1431)
OKLCHoklch(35.81% 0.147 284)
XYZxyz(6.6220, 4.0514, 22.6188)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382885 #758528
analogous
#284785 #382885 #672885
triadic
#382885 #853828 #288538
tetradic
#382885 #852847 #758528 #288567
square
#382885 #852847 #758528 #288567
split-complementary
#382885 #856728 #478528
monochromatic
#100C27 #241A56 #382885 #4C36B4 #6E5ACD

Accessibility & contrast

On white

11.60
#382885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382885
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382885#FFFFFF#000000##FFFFFF
##3828851.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#124053
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382885;
/* rgb */ color: rgb(56, 40, 133);
/* oklch */ color: oklch(35.8% 0.147 284.0);
Tailwind
colors: {
  custom: {
    50: '#7763a9',
    500: '#382885',
    950: '#000000',
  },
}
SCSS
$custom: #382885;
$custom-light: #7763a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382885",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 250.323,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.14747,
    "h": 284
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#382885
secondary
#A3B356
accent
#DD4BC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #382885

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

Preview Lab → · Contrast checker → · Palette generator →

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