#382390#382390

#382390 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.167 H 282.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#382390
RGBrgb(56, 35, 144)
HSLhsl(252, 61%, 35%)
HSVhsv(252, 76%, 56%)
CMYKcmyk(61.1%, 75.7%, 0%, 43.5%)
CIE-LABlab(23.86, 40.40, -56.59)
CIE-LCHlch(23.86, 69.53, 305.52°)
OKLaboklab(36.14% 0.0375 -0.1631)
OKLCHoklch(36.14% 0.167 282.9)
XYZxyz(7.2644, 4.0559, 26.7802)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382390 #7B9023
analogous
#234490 #382390 #6F2390
triadic
#382390 #903823 #239038
tetradic
#382390 #902344 #7B9023 #23906F
square
#382390 #902344 #7B9023 #23906F
split-complementary
#382390 #906F23 #449023
monochromatic
#120B2E #25175F #382390 #4B2FC1 #7057D6

Accessibility & contrast

On white

11.59
#382390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#382390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382390
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382390#FFFFFF#000000##FFFFFF
##3823901.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382390;
/* rgb */ color: rgb(56, 35, 144);
/* oklch */ color: oklch(36.1% 0.167 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a61b2',
    500: '#382390',
    950: '#000000',
  },
}
SCSS
$custom: #382390;
$custom-light: #7a61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382390",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 251.56,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.16737,
    "h": 282.9
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#382390
secondary
#A7BA54
accent
#E444C5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382390

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

Preview Lab → · Contrast checker → · Palette generator →

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