#481E7C#481E7C

#481E7C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.149 H 298.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#481E7C
RGBrgb(72, 30, 124)
HSLhsl(267, 61%, 30%)
HSVhsv(267, 76%, 49%)
CMYKcmyk(41.9%, 75.8%, 0%, 51.4%)
CIE-LABlab(22.87, 39.77, -45.60)
CIE-LCHlch(22.87, 60.51, 311.10°)
OKLaboklab(35.29% 0.0717 -0.1303)
OKLCHoklch(35.29% 0.149 298.8)
XYZxyz(6.7739, 3.7614, 19.4340)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E7C #527C1E
analogous
#1E237C #481E7C #771E7C
triadic
#481E7C #7C481E #1E7C48
tetradic
#481E7C #7C1E23 #527C1E #1E7C77
square
#481E7C #7C1E23 #527C1E #1E7C77
split-complementary
#481E7C #7C771E #237C1E
monochromatic
#0F0619 #2B124B #481E7C #652AAD #8343D1

Accessibility & contrast

On white

11.98
#481E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E7C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E7C#FFFFFF#000000##FFFFFF
##481E7C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3B364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481e7c;
/* rgb */ color: rgb(72, 30, 124);
/* oklch */ color: oklch(35.3% 0.149 298.8);
Tailwind
colors: {
  custom: {
    50: '#805ea3',
    500: '#481e7c',
    950: '#000000',
  },
}
SCSS
$custom: #481e7c;
$custom-light: #805ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#481e7c",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 266.809,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35286,
    "c": 0.1487,
    "h": 298.8
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#481E7C
secondary
#80AF46
accent
#E4449C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E7C

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

Preview Lab → · Contrast checker → · Palette generator →

#481E7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva