#382085#382085

#382085 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.157 H 285.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#382085
RGBrgb(56, 32, 133)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 52%)
CMYKcmyk(57.9%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.18, 38.61, -52.47)
CIE-LCHlch(22.18, 65.15, 306.35°)
OKLaboklab(34.63% 0.0426 -0.151)
OKLCHoklch(34.63% 0.157 285.7)
XYZxyz(6.3798, 3.5669, 22.5381)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382085 #6D8520
analogous
#203B85 #382085 #6A2085
triadic
#382085 #853820 #208538
tetradic
#382085 #85203B #6D8520 #20856A
square
#382085 #85203B #6D8520 #20856A
split-complementary
#382085 #856A20 #3B8520
monochromatic
#0E0822 #231454 #382085 #4D2CB6 #6C4CD4

Accessibility & contrast

On white

12.26
#382085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#382085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382085
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382085#FFFFFF#000000##FFFFFF
##3820851.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#133C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #382085;
/* rgb */ color: rgb(56, 32, 133);
/* oklch */ color: oklch(34.6% 0.157 285.7);
Tailwind
colors: {
  custom: {
    50: '#785ea9',
    500: '#382085',
    950: '#000000',
  },
}
SCSS
$custom: #382085;
$custom-light: #785ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#382085",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 254.257,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34628,
    "c": 0.15693,
    "h": 285.7
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#382085
secondary
#9DB74A
accent
#E443BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #382085

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

Preview Lab → · Contrast checker → · Palette generator →

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