#481B74#481B74

#481B74 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.143 H 302.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#481B74
RGBrgb(72, 27, 116)
HSLhsl(270, 62%, 28%)
HSVhsv(270, 77%, 45%)
CMYKcmyk(37.9%, 76.7%, 0%, 54.5%)
CIE-LABlab(21.66, 39.11, -42.45)
CIE-LCHlch(21.66, 57.72, 312.66°)
OKLaboklab(34.22% 0.0766 -0.121)
OKLCHoklch(34.22% 0.143 302.3)
XYZxyz(6.2161, 3.4225, 16.8527)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B74 #47741B
analogous
#1B1B74 #481B74 #741B73
triadic
#481B74 #74481B #1B7448
tetradic
#481B74 #741B1B #47741B #1B7374
square
#481B74 #741B1B #47741B #1B7374
split-complementary
#481B74 #73741B #1B741B
monochromatic
#0F0619 #290F42 #481B74 #6727A6 #8639D1

Accessibility & contrast

On white

12.47
#481B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B74
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B74#FFFFFF#000000##FFFFFF
##481B741.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#3F3146
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481b74;
/* rgb */ color: rgb(72, 27, 116);
/* oklch */ color: oklch(34.2% 0.143 302.3);
Tailwind
colors: {
  custom: {
    50: '#805c9d',
    500: '#481b74',
    950: '#000000',
  },
}
SCSS
$custom: #481b74;
$custom-light: #805c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481b74",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 270.337,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.14319,
    "h": 302.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#481B74
secondary
#75A942
accent
#E54293
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481B74

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

Preview Lab → · Contrast checker → · Palette generator →

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