#382290#382290

#382290 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.168 H 283.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#382290
RGBrgb(56, 34, 144)
HSLhsl(252, 62%, 35%)
HSVhsv(252, 76%, 56%)
CMYKcmyk(61.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(23.66, 40.94, -56.91)
CIE-LCHlch(23.66, 70.10, 305.73°)
OKLaboklab(36% 0.0382 -0.164)
OKLCHoklch(36% 0.168 283.1)
XYZxyz(7.2354, 3.9979, 26.7706)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382290 #7A9022
analogous
#224390 #382290 #6F2290
triadic
#382290 #903822 #229038
tetradic
#382290 #902243 #7A9022 #22906F
square
#382290 #902243 #7A9022 #22906F
split-complementary
#382290 #906F22 #439022
monochromatic
#110B2D #25165E #382290 #4B2EC2 #6F55D7

Accessibility & contrast

On white

11.67
#382290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#382290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382290
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382290#FFFFFF#000000##FFFFFF
##3822901.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382290;
/* rgb */ color: rgb(56, 34, 144);
/* oklch */ color: oklch(36.0% 0.168 283.1);
Tailwind
colors: {
  custom: {
    50: '#7a60b2',
    500: '#382290',
    950: '#000000',
  },
}
SCSS
$custom: #382290;
$custom-light: #7a60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382290",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 252,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.16842,
    "h": 283.1
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#382290
secondary
#A6BB53
accent
#E543C4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382290

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

Preview Lab → · Contrast checker → · Palette generator →

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