#481B7B#481B7B

#481B7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.151 H 299.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#481B7B
RGBrgb(72, 27, 123)
HSLhsl(268, 64%, 29%)
HSVhsv(268, 78%, 48%)
CMYKcmyk(41.5%, 78%, 0%, 51.8%)
CIE-LABlab(22.27, 40.95, -45.93)
CIE-LCHlch(22.27, 61.53, 311.72°)
OKLaboklab(34.84% 0.0749 -0.1312)
OKLCHoklch(34.84% 0.151 299.7)
XYZxyz(6.6387, 3.5916, 19.0785)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7B #4E7B1B
analogous
#1B1E7B #481B7B #781B7B
triadic
#481B7B #7B481B #1B7B48
tetradic
#481B7B #7B1B1E #4E7B1B #1B7B78
square
#481B7B #7B1B1E #4E7B1B #1B7B78
split-complementary
#481B7B #7B781B #1E7B1B
monochromatic
#0F0619 #2B1049 #481B7B #6526AD #833CD4

Accessibility & contrast

On white

12.22
#481B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B7B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B7B#FFFFFF#000000##FFFFFF
##481B7B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481b7b;
/* rgb */ color: rgb(72, 27, 123);
/* oklch */ color: oklch(34.8% 0.151 299.7);
Tailwind
colors: {
  custom: {
    50: '#805ca2',
    500: '#481b7b',
    950: '#000000',
  },
}
SCSS
$custom: #481b7b;
$custom-light: #805ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7b",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 268.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3484,
    "c": 0.15108,
    "h": 299.7
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#481B7B
secondary
#7CAF43
accent
#E74199
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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