#382585#382585

#382585 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.151 H 284.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#382585
RGBrgb(56, 37, 133)
HSLhsl(252, 56%, 33%)
HSVhsv(252, 72%, 52%)
CMYKcmyk(57.9%, 72.2%, 0%, 47.8%)
CIE-LABlab(23.19, 35.79, -50.82)
CIE-LCHlch(23.19, 62.16, 305.16°)
OKLaboklab(35.34% 0.0383 -0.1462)
OKLCHoklch(35.34% 0.151 284.7)
XYZxyz(6.5248, 3.8570, 22.5864)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382585 #728525
analogous
#254285 #382585 #682585
triadic
#382585 #853825 #258538
tetradic
#382585 #852542 #728525 #258568
square
#382585 #852542 #728525 #258568
split-complementary
#382585 #856825 #428525
monochromatic
#100A25 #241855 #382585 #4C32B5 #6D55D0

Accessibility & contrast

On white

11.86
#382585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#382585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382585
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382585#FFFFFF#000000##FFFFFF
##3825851.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#133E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #382585;
/* rgb */ color: rgb(56, 37, 133);
/* oklch */ color: oklch(35.3% 0.151 284.7);
Tailwind
colors: {
  custom: {
    50: '#7861a9',
    500: '#382585',
    950: '#000000',
  },
}
SCSS
$custom: #382585;
$custom-light: #7861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382585",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 251.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.15116,
    "h": 284.7
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#382585
secondary
#A1B452
accent
#E048C2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #382585

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

Preview Lab → · Contrast checker → · Palette generator →

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