#481B7C#481B7C

#481B7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.152 H 299.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#481B7C
RGBrgb(72, 27, 124)
HSLhsl(268, 64%, 30%)
HSVhsv(268, 78%, 49%)
CMYKcmyk(41.9%, 78.2%, 0%, 51.4%)
CIE-LABlab(22.36, 41.21, -46.42)
CIE-LCHlch(22.36, 62.07, 311.60°)
OKLaboklab(34.93% 0.0746 -0.1327)
OKLCHoklch(34.93% 0.152 299.3)
XYZxyz(6.7016, 3.6167, 19.4099)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7C #4F7C1B
analogous
#1B1F7C #481B7C #791B7C
triadic
#481B7C #7C481B #1B7C48
tetradic
#481B7C #7C1B1F #4F7C1B #1B7C79
square
#481B7C #7C1B1F #4F7C1B #1B7C79
split-complementary
#481B7C #7C791B #1F7C1B
monochromatic
#0F0519 #2B104A #481B7C #6526AE #833DD5

Accessibility & contrast

On white

12.19
#481B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B7C
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B7C#FFFFFF#000000##FFFFFF
##481B7C1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3C344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481b7c;
/* rgb */ color: rgb(72, 27, 124);
/* oklch */ color: oklch(34.9% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#815da3',
    500: '#481b7c',
    950: '#000000',
  },
}
SCSS
$custom: #481b7c;
$custom-light: #815da3;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7c",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 267.835,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.15221,
    "h": 299.3
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#481B7C
secondary
#7DB043
accent
#E7419A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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