#382396#382396

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

Color values

HEX#382396
RGBrgb(56, 35, 150)
HSLhsl(251, 62%, 36%)
HSVhsv(251, 77%, 59%)
CMYKcmyk(62.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(24.46, 42.27, -59.30)
CIE-LCHlch(24.46, 72.82, 305.48°)
OKLaboklab(36.75% 0.036 -0.171)
OKLCHoklch(36.75% 0.175 281.9)
XYZxyz(7.7352, 4.2443, 29.2599)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382396 #819623
analogous
#234896 #382396 #722396
triadic
#382396 #963823 #239638
tetradic
#382396 #962348 #819623 #239672
square
#382396 #962348 #819623 #239672
split-complementary
#382396 #967223 #489623
monochromatic
#130C33 #251764 #382396 #4B2FC8 #725BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##382396#FFFFFF#000000##FFFFFF
##3823961.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)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382396;
/* rgb */ color: rgb(56, 35, 150);
/* oklch */ color: oklch(36.8% 0.175 281.9);
Tailwind
colors: {
  custom: {
    50: '#7b61b6',
    500: '#382396',
    950: '#000000',
  },
}
SCSS
$custom: #382396;
$custom-light: #7b61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382396",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 250.957,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.17476,
    "h": 281.9
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#382396
secondary
#ABBD58
accent
#E543C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382396

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

Preview Lab → · Contrast checker → · Palette generator →

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