#382090#382090

#382090 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.170 H 283.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#382090
RGBrgb(56, 32, 144)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 56%)
CMYKcmyk(61.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(23.29, 41.99, -57.52)
CIE-LCHlch(23.29, 71.22, 306.13°)
OKLaboklab(35.74% 0.0396 -0.1658)
OKLCHoklch(35.74% 0.17 283.4)
XYZxyz(7.1799, 3.8869, 26.7521)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382090 #789020
analogous
#204090 #382090 #702090
triadic
#382090 #903820 #209038
tetradic
#382090 #902040 #789020 #209070
square
#382090 #902040 #789020 #209070
split-complementary
#382090 #907020 #409020
monochromatic
#110A2C #25155E #382090 #4B2BC2 #6F52D9

Accessibility & contrast

On white

11.82
#382090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#382090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382090
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382090#FFFFFF#000000##FFFFFF
##3820901.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382090;
/* rgb */ color: rgb(56, 32, 144);
/* oklch */ color: oklch(35.7% 0.170 283.4);
Tailwind
colors: {
  custom: {
    50: '#7a5fb2',
    500: '#382090',
    950: '#000000',
  },
}
SCSS
$custom: #382090;
$custom-light: #7a5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#382090",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 252.857,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.17046,
    "h": 283.4
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#382090
secondary
#A5BC50
accent
#E741C3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382090

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

Preview Lab → · Contrast checker → · Palette generator →

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