#482297#482297

#482297 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.176 H 290.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#482297
RGBrgb(72, 34, 151)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(52.3%, 77.5%, 0%, 40.8%)
CIE-LABlab(26.03, 45.29, -57.28)
CIE-LCHlch(26.03, 73.02, 308.33°)
OKLaboklab(38.27% 0.061 -0.1646)
OKLCHoklch(38.27% 0.176 290.3)
XYZxyz(8.8288, 4.7558, 29.7249)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482297 #719722
analogous
#223797 #482297 #832297
triadic
#482297 #974822 #229748
tetradic
#482297 #972237 #719722 #229783
square
#482297 #972237 #719722 #229783
split-complementary
#482297 #978322 #379722
monochromatic
#180C33 #301765 #482297 #602DC9 #835ADA

Accessibility & contrast

On white

10.76
#482297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#482297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482297
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482297#FFFFFF#000000##FFFFFF
##4822971.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#2C435B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #482297;
/* rgb */ color: rgb(72, 34, 151);
/* oklch */ color: oklch(38.3% 0.176 290.3);
Tailwind
colors: {
  custom: {
    50: '#8462b7',
    500: '#482297',
    950: '#000000',
  },
}
SCSS
$custom: #482297;
$custom-light: #8462b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482297",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 259.487,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.17554,
    "h": 290.3
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#482297
secondary
#9CBE57
accent
#E642B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #482297

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

Preview Lab → · Contrast checker → · Palette generator →

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