#481E8C#481E8C

#481E8C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.167 H 293.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#481E8C
RGBrgb(72, 30, 140)
HSLhsl(263, 65%, 33%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(48.6%, 78.6%, 0%, 45.1%)
CIE-LABlab(24.32, 44.13, -53.28)
CIE-LCHlch(24.32, 69.18, 309.63°)
OKLaboklab(36.76% 0.0675 -0.1528)
OKLCHoklch(36.76% 0.167 293.8)
XYZxyz(7.8691, 4.1995, 25.2018)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E8C #628C1E
analogous
#1E2B8C #481E8C #7F1E8C
triadic
#481E8C #8C481E #1E8C48
tetradic
#481E8C #8C1E2B #628C1E #1E8C7F
square
#481E8C #8C1E2B #628C1E #1E8C7F
split-complementary
#481E8C #8C7F1E #2B8C1E
monochromatic
#140827 #2E135A #481E8C #6229BE #824CD9

Accessibility & contrast

On white

11.41
#481E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#481E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E8C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E8C#FFFFFF#000000##FFFFFF
##481E8C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#333C54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481e8c;
/* rgb */ color: rgb(72, 30, 140);
/* oklch */ color: oklch(36.8% 0.167 293.8);
Tailwind
colors: {
  custom: {
    50: '#825faf',
    500: '#481e8c',
    950: '#000000',
  },
}
SCSS
$custom: #481e8c;
$custom-light: #825faf;
$custom-dark: #000000;
JSON
{
  "hex": "#481e8c",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 262.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.16707,
    "h": 293.8
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#481E8C
secondary
#90BB4B
accent
#E840A8
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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