#481EA8#481EA8

#481EA8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.198 H 287.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#481EA8
RGBrgb(72, 30, 168)
HSLhsl(258, 70%, 39%)
HSVhsv(258, 82%, 66%)
CMYKcmyk(57.1%, 82.1%, 0%, 34.1%)
CIE-LABlab(27.11, 51.81, -65.85)
CIE-LCHlch(27.11, 83.79, 308.19°)
OKLaboklab(39.53% 0.0584 -0.1896)
OKLCHoklch(39.53% 0.198 287.1)
XYZxyz(10.2025, 5.1328, 37.4913)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481EA8 #7EA81E
analogous
#1E39A8 #481EA8 #8D1EA8
triadic
#481EA8 #A8481E #1EA848
tetradic
#481EA8 #A81E39 #7EA81E #1EA88D
square
#481EA8 #A81E39 #7EA81E #1EA88D
split-complementary
#481EA8 #A88D1E #39A81E
monochromatic
#1B0B40 #321574 #481EA8 #5F2AD9 #865EE2

Accessibility & contrast

On white

10.36
#481EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#481EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481EA8
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481EA8#FFFFFF#000000##FFFFFF
##481EA81.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#1A4864
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #481ea8;
/* rgb */ color: rgb(72, 30, 168);
/* oklch */ color: oklch(39.5% 0.198 287.1);
Tailwind
colors: {
  custom: {
    50: '#8761c3',
    500: '#481ea8',
    950: '#000000',
  },
}
SCSS
$custom: #481ea8;
$custom-light: #8761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#481ea8",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 258.261,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.1984,
    "h": 287.1
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#481EA8
secondary
#A6C75B
accent
#ED3BB7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #481EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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