#382092#382092

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

Color values

HEX#382092
RGBrgb(56, 32, 146)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 57%)
CMYKcmyk(61.6%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.50, 42.60, -58.41)
CIE-LCHlch(23.50, 72.30, 306.10°)
OKLaboklab(35.95% 0.0391 -0.1684)
OKLCHoklch(35.95% 0.173 283.1)
XYZxyz(7.3341, 3.9486, 27.5642)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382092 #7A9220
analogous
#204192 #382092 #712092
triadic
#382092 #923820 #209238
tetradic
#382092 #922041 #7A9220 #209271
square
#382092 #922041 #7A9220 #209271
split-complementary
#382092 #927120 #419220
monochromatic
#110A2E #251560 #382092 #4B2BC4 #6F53D9

Accessibility & contrast

On white

11.73
#382092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#382092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382092
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382092#FFFFFF#000000##FFFFFF
##3820921.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382092;
/* rgb */ color: rgb(56, 32, 146);
/* oklch */ color: oklch(36.0% 0.173 283.1);
Tailwind
colors: {
  custom: {
    50: '#7b5fb3',
    500: '#382092',
    950: '#000000',
  },
}
SCSS
$custom: #382092;
$custom-light: #7b5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#382092",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 252.632,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.17289,
    "h": 283.1
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#382092
secondary
#A6BD51
accent
#E741C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382092

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

Preview Lab → · Contrast checker → · Palette generator →

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