#481FB4#481FB4

#481FB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.211 H 284.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#481FB4
RGBrgb(72, 31, 180)
HSLhsl(257, 71%, 41%)
HSVhsv(257, 83%, 71%)
CMYKcmyk(60%, 82.8%, 0%, 29.4%)
CIE-LABlab(28.52, 54.68, -70.73)
CIE-LCHlch(28.52, 89.40, 307.71°)
OKLaboklab(40.88% 0.0536 -0.2038)
OKLCHoklch(40.88% 0.211 284.7)
XYZxyz(11.3982, 5.6522, 43.6615)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481FB4 #8BB41F
analogous
#1F41B4 #481FB4 #931FB4
triadic
#481FB4 #B4481F #1FB448
tetradic
#481FB4 #B41F41 #8BB41F #1FB493
square
#481FB4 #B41F41 #8BB41F #1FB493
split-complementary
#481FB4 #B4931F #41B41F
monochromatic
#1E0D4C #331680 #481FB4 #6234DC #8B68E5

Accessibility & contrast

On white

9.86
#481FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#481FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481FB4
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481FB4#FFFFFF#000000##FFFFFF
##481FB41.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #481fb4;
/* rgb */ color: rgb(72, 31, 180);
/* oklch */ color: oklch(40.9% 0.211 284.7);
Tailwind
colors: {
  custom: {
    50: '#8962cc',
    500: '#481fb4',
    950: '#000000',
  },
}
SCSS
$custom: #481fb4;
$custom-light: #8962cc;
$custom-dark: #000000;
JSON
{
  "hex": "#481fb4",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 256.51,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.21078,
    "h": 284.7
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#481FB4
secondary
#AECB64
accent
#ED3ABC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #481FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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