#481970#481970

#481970 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.141 H 304.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#481970
RGBrgb(72, 25, 112)
HSLhsl(272, 64%, 27%)
HSVhsv(272, 78%, 44%)
CMYKcmyk(35.7%, 77.7%, 0%, 56.1%)
CIE-LABlab(20.99, 39.02, -40.96)
CIE-LCHlch(20.99, 56.57, 313.61°)
OKLaboklab(33.64% 0.0795 -0.1166)
OKLCHoklch(33.64% 0.141 304.3)
XYZxyz(5.9441, 3.2429, 15.6389)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481970 #417019
analogous
#1D1970 #481970 #70196D
triadic
#481970 #704819 #197048
tetradic
#481970 #701D19 #417019 #196D70
square
#481970 #701D19 #417019 #196D70
split-complementary
#481970 #6D7019 #19701D
monochromatic
#100619 #280E3E #481970 #6824A2 #8832D1

Accessibility & contrast

On white

12.74
#481970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481970
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481970#FFFFFF#000000##FFFFFF
##4819701.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#402F43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481970;
/* rgb */ color: rgb(72, 25, 112);
/* oklch */ color: oklch(33.6% 0.141 304.3);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#481970',
    950: '#000000',
  },
}
SCSS
$custom: #481970;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481970",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 272.414,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.14115,
    "h": 304.3
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#481970
secondary
#6EA540
accent
#E7418D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481970

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

Preview Lab → · Contrast checker → · Palette generator →

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