#482874#482874

#482874 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.0% C 0.125 H 299.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#482874
RGBrgb(72, 40, 116)
HSLhsl(265, 49%, 31%)
HSVhsv(265, 66%, 45%)
CMYKcmyk(37.9%, 65.5%, 0%, 54.5%)
CIE-LABlab(24.18, 32.14, -38.36)
CIE-LCHlch(24.18, 50.05, 309.96°)
OKLaboklab(36.02% 0.0615 -0.1091)
OKLCHoklch(36.02% 0.125 299.4)
XYZxyz(6.5829, 4.1562, 16.9750)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482874 #547428
analogous
#282E74 #482874 #6E2874
triadic
#482874 #744828 #287448
tetradic
#482874 #74282E #547428 #28746E
square
#482874 #74282E #547428 #28746E
split-complementary
#482874 #746E28 #2E7428
monochromatic
#100919 #2C1846 #482874 #6438A2 #8253C4

Accessibility & contrast

On white

11.47
#482874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482874
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482874#FFFFFF#000000##FFFFFF
##4828741.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#073972
Tritanopia (blue-blind)
#3E394A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #482874;
/* rgb */ color: rgb(72, 40, 116);
/* oklch */ color: oklch(36.0% 0.125 299.4);
Tailwind
colors: {
  custom: {
    50: '#7f649d',
    500: '#482874',
    950: '#000000',
  },
}
SCSS
$custom: #482874;
$custom-light: #7f649d;
$custom-dark: #000000;
JSON
{
  "hex": "#482874",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 265.263,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36024,
    "c": 0.12522,
    "h": 299.4
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#482874
secondary
#83A652
accent
#D8509F
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #482874

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

Preview Lab → · Contrast checker → · Palette generator →

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