#382592#382592

#382592 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.168 H 282.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#382592
RGBrgb(56, 37, 146)
HSLhsl(250, 60%, 36%)
HSVhsv(250, 75%, 57%)
CMYKcmyk(61.6%, 74.7%, 0%, 42.7%)
CIE-LABlab(24.45, 39.93, -56.86)
CIE-LCHlch(24.45, 69.48, 305.08°)
OKLaboklab(36.62% 0.0355 -0.1639)
OKLCHoklch(36.62% 0.168 282.2)
XYZxyz(7.4791, 4.2387, 27.6126)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382592 #7F9225
analogous
#254892 #382592 #6E2592
triadic
#382592 #923825 #259238
tetradic
#382592 #922548 #7F9225 #25926E
square
#382592 #922548 #7F9225 #25926E
split-complementary
#382592 #926E25 #489225
monochromatic
#130C30 #251961 #382592 #4B31C3 #715CD6

Accessibility & contrast

On white

11.36
#382592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#382592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382592
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382592#FFFFFF#000000##FFFFFF
##3825921.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382592;
/* rgb */ color: rgb(56, 37, 146);
/* oklch */ color: oklch(36.6% 0.168 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a62b3',
    500: '#382592',
    950: '#000000',
  },
}
SCSS
$custom: #382592;
$custom-light: #7a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382592",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 250.459,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.16771,
    "h": 282.2
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#382592
secondary
#A9BA58
accent
#E345C7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382592

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

Preview Lab → · Contrast checker → · Palette generator →

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