#481975#481975

#481975 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.147 H 302.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#481975
RGBrgb(72, 25, 117)
HSLhsl(271, 65%, 28%)
HSVhsv(271, 79%, 46%)
CMYKcmyk(38.5%, 78.6%, 0%, 54.1%)
CIE-LABlab(21.42, 40.30, -43.48)
CIE-LCHlch(21.42, 59.29, 312.83°)
OKLaboklab(34.08% 0.0783 -0.124)
OKLCHoklch(34.08% 0.147 302.3)
XYZxyz(6.2302, 3.3573, 17.1460)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481975 #467519
analogous
#1A1975 #481975 #751974
triadic
#481975 #754819 #197548
tetradic
#481975 #751A19 #467519 #197475
square
#481975 #751A19 #467519 #197475
split-complementary
#481975 #747519 #19751A
monochromatic
#100519 #290E43 #481975 #6724A7 #8635D4

Accessibility & contrast

On white

12.56
#481975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481975
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481975#FFFFFF#000000##FFFFFF
##4819751.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#3E3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481975;
/* rgb */ color: rgb(72, 25, 117);
/* oklch */ color: oklch(34.1% 0.147 302.3);
Tailwind
colors: {
  custom: {
    50: '#805b9e',
    500: '#481975',
    950: '#000000',
  },
}
SCSS
$custom: #481975;
$custom-light: #805b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481975",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 270.652,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34078,
    "c": 0.14669,
    "h": 302.3
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#481975
secondary
#74AA40
accent
#E84092
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481975

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

Preview Lab → · Contrast checker → · Palette generator →

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