#482381#482381

#482381 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.148 H 296.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#482381
RGBrgb(72, 35, 129)
HSLhsl(264, 57%, 32%)
HSVhsv(264, 73%, 51%)
CMYKcmyk(44.2%, 72.9%, 0%, 49.4%)
CIE-LABlab(24.21, 38.59, -46.57)
CIE-LCHlch(24.21, 60.48, 309.65°)
OKLaboklab(36.37% 0.0655 -0.1332)
OKLCHoklch(36.37% 0.148 296.2)
XYZxyz(7.2349, 4.1646, 21.1873)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482381 #5C8123
analogous
#232D81 #482381 #772381
triadic
#482381 #814823 #238148
tetradic
#482381 #81232D #5C8123 #238177
square
#482381 #81232D #5C8123 #238177
split-complementary
#482381 #817723 #2D8123
monochromatic
#120921 #2D1651 #482381 #6330B1 #824FCF

Accessibility & contrast

On white

11.46
#482381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482381
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482381#FFFFFF#000000##FFFFFF
##4823811.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#393A4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #482381;
/* rgb */ color: rgb(72, 35, 129);
/* oklch */ color: oklch(36.4% 0.148 296.2);
Tailwind
colors: {
  custom: {
    50: '#8161a6',
    500: '#482381',
    950: '#000000',
  },
}
SCSS
$custom: #482381;
$custom-light: #8161a6;
$custom-dark: #000000;
JSON
{
  "hex": "#482381",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 263.617,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.14842,
    "h": 296.2
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#482381
secondary
#8BB34D
accent
#E147A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #482381

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

Preview Lab → · Contrast checker → · Palette generator →

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