#382393#382393

#382393 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.171 H 282.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#382393
RGBrgb(56, 35, 147)
HSLhsl(251, 62%, 36%)
HSVhsv(251, 76%, 58%)
CMYKcmyk(61.9%, 76.2%, 0%, 42.4%)
CIE-LABlab(24.16, 41.33, -57.95)
CIE-LCHlch(24.16, 71.18, 305.50°)
OKLaboklab(36.44% 0.0367 -0.1671)
OKLCHoklch(36.44% 0.171 282.4)
XYZxyz(7.4967, 4.1489, 28.0039)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382393 #7E9323
analogous
#234693 #382393 #702393
triadic
#382393 #933823 #239338
tetradic
#382393 #932346 #7E9323 #239370
square
#382393 #932346 #7E9323 #239370
split-complementary
#382393 #937023 #469323
monochromatic
#120B30 #251762 #382393 #4B2FC4 #7159D7

Accessibility & contrast

On white

11.48
#382393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#382393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382393
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382393#FFFFFF#000000##FFFFFF
##3823931.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382393;
/* rgb */ color: rgb(56, 35, 147);
/* oklch */ color: oklch(36.4% 0.171 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a61b4',
    500: '#382393',
    950: '#000000',
  },
}
SCSS
$custom: #382393;
$custom-light: #7a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382393",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 251.25,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.17108,
    "h": 282.4
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#382393
secondary
#A9BC56
accent
#E543C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382393

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

Preview Lab → · Contrast checker → · Palette generator →

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