#382595#382595

#382595 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.171 H 281.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#382595
RGBrgb(56, 37, 149)
HSLhsl(250, 60%, 36%)
HSVhsv(250, 75%, 58%)
CMYKcmyk(62.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(24.74, 40.87, -58.22)
CIE-LCHlch(24.74, 71.14, 305.07°)
OKLaboklab(36.92% 0.0348 -0.1679)
OKLCHoklch(36.92% 0.171 281.7)
XYZxyz(7.7156, 4.3333, 28.8578)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382595 #829525
analogous
#254A95 #382595 #702595
triadic
#382595 #953825 #259538
tetradic
#382595 #95254A #829525 #259570
square
#382595 #95254A #829525 #259570
split-complementary
#382595 #957025 #4A9525
monochromatic
#130D33 #261964 #382595 #4A31C6 #725ED7

Accessibility & contrast

On white

11.25
#382595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#382595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382595
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382595#FFFFFF#000000##FFFFFF
##3825951.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382595;
/* rgb */ color: rgb(56, 37, 149);
/* oklch */ color: oklch(36.9% 0.171 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b62b5',
    500: '#382595',
    950: '#000000',
  },
}
SCSS
$custom: #382595;
$custom-light: #7b62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382595",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 250.179,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.17146,
    "h": 281.7
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#382595
secondary
#ABBC5A
accent
#E344C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382595

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

Preview Lab → · Contrast checker → · Palette generator →

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