#481E6F#481E6F

#481E6F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.134 H 303.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#481E6F
RGBrgb(72, 30, 111)
HSLhsl(271, 57%, 28%)
HSVhsv(271, 73%, 44%)
CMYKcmyk(35.1%, 73%, 0%, 56.5%)
CIE-LABlab(21.78, 36.31, -39.04)
CIE-LCHlch(21.78, 53.32, 312.93°)
OKLaboklab(34.17% 0.0743 -0.111)
OKLCHoklch(34.17% 0.134 303.8)
XYZxyz(6.0053, 3.4540, 15.3862)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E6F #456F1E
analogous
#1F1E6F #481E6F #6F1E6E
triadic
#481E6F #6F481E #1E6F48
tetradic
#481E6F #6F1F1E #456F1E #1E6E6F
square
#481E6F #6F1F1E #456F1E #1E6E6F
split-complementary
#481E6F #6E6F1E #1E6F1F
monochromatic
#100718 #29113F #481E6F #672B9F #863DCB

Accessibility & contrast

On white

12.42
#481E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E6F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E6F#FFFFFF#000000##FFFFFF
##481E6F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#403144
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481e6f;
/* rgb */ color: rgb(72, 30, 111);
/* oklch */ color: oklch(34.2% 0.134 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f5e99',
    500: '#481e6f',
    950: '#000000',
  },
}
SCSS
$custom: #481e6f;
$custom-light: #7f5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#481e6f",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 271.111,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34172,
    "c": 0.13356,
    "h": 303.8
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#481E6F
secondary
#73A346
accent
#E14791
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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