#481B7F#481B7F

#481B7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.156 H 298.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#481B7F
RGBrgb(72, 27, 127)
HSLhsl(267, 65%, 30%)
HSVhsv(267, 79%, 50%)
CMYKcmyk(43.3%, 78.7%, 0%, 50.2%)
CIE-LABlab(22.63, 42.00, -47.88)
CIE-LCHlch(22.63, 63.69, 311.26°)
OKLaboklab(35.2% 0.0738 -0.137)
OKLCHoklch(35.2% 0.156 298.3)
XYZxyz(6.8942, 3.6938, 20.4243)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7F #527F1B
analogous
#1B207F #481B7F #7A1B7F
triadic
#481B7F #7F481B #1B7F48
tetradic
#481B7F #7F1B20 #527F1B #1B7F7A
square
#481B7F #7F1B20 #527F1B #1B7F7A
split-complementary
#481B7F #7F7A1B #207F1B
monochromatic
#0F061A #2B104D #481B7F #6526B1 #833ED6

Accessibility & contrast

On white

12.08
#481B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B7F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B7F#FFFFFF#000000##FFFFFF
##481B7F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3A364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481b7f;
/* rgb */ color: rgb(72, 27, 127);
/* oklch */ color: oklch(35.2% 0.156 298.3);
Tailwind
colors: {
  custom: {
    50: '#815da5',
    500: '#481b7f',
    950: '#000000',
  },
}
SCSS
$custom: #481b7f;
$custom-light: #815da5;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7f",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 267,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35204,
    "c": 0.15558,
    "h": 298.3
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#481B7F
secondary
#80B343
accent
#E8409C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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