#482160#482160

#482160 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.111 H 310.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#482160
RGBrgb(72, 33, 96)
HSLhsl(277, 49%, 25%)
HSVhsv(277, 66%, 38%)
CMYKcmyk(25%, 65.6%, 0%, 62.4%)
CIE-LABlab(21.25, 30.81, -30.11)
CIE-LCHlch(21.25, 43.08, 315.66°)
OKLaboklab(33.43% 0.0719 -0.0848)
OKLCHoklch(33.43% 0.111 310.3)
XYZxyz(5.3273, 3.3101, 11.4223)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482160 #396021
analogous
#292160 #482160 #602158
triadic
#482160 #604821 #216048
tetradic
#482160 #602921 #396021 #215860
square
#482160 #602921 #396021 #215860
split-complementary
#482160 #586021 #216029
monochromatic
#110817 #261132 #482160 #6A318E #8C40BB

Accessibility & contrast

On white

12.64
#482160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#482160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482160
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482160#FFFFFF#000000##FFFFFF
##4821601.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063162
Deuteranopia (green-blind)
#1A345F
Tritanopia (blue-blind)
#452D3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #482160;
/* rgb */ color: rgb(72, 33, 96);
/* oklch */ color: oklch(33.4% 0.111 310.3);
Tailwind
colors: {
  custom: {
    50: '#7d5f8d',
    500: '#482160',
    950: '#000000',
  },
}
SCSS
$custom: #482160;
$custom-light: #7d5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#482160",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 277.143,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.11115,
    "h": 310.3
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#482160
secondary
#659449
accent
#D84F84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #482160

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

Preview Lab → · Contrast checker → · Palette generator →

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