#481F68#481F68

#481F68 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.124 H 306.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#481F68
RGBrgb(72, 31, 104)
HSLhsl(274, 54%, 26%)
HSVhsv(274, 70%, 41%)
CMYKcmyk(30.8%, 70.2%, 0%, 59.2%)
CIE-LABlab(21.42, 33.96, -35.07)
CIE-LCHlch(21.42, 48.82, 314.08°)
OKLaboklab(33.75% 0.074 -0.0993)
OKLCHoklch(33.75% 0.124 306.7)
XYZxyz(5.6606, 3.3572, 13.4438)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F68 #3F681F
analogous
#241F68 #481F68 #681F64
triadic
#481F68 #68481F #1F6848
tetradic
#481F68 #68241F #3F681F #1F6468
square
#481F68 #68241F #3F681F #1F6468
split-complementary
#481F68 #64681F #1F6824
monochromatic
#100718 #271139 #481F68 #692D97 #893CC5

Accessibility & contrast

On white

12.56
#481F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F68
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F68#FFFFFF#000000##FFFFFF
##481F681.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#0D3466
Tritanopia (blue-blind)
#432F40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481f68;
/* rgb */ color: rgb(72, 31, 104);
/* oklch */ color: oklch(33.7% 0.124 306.7);
Tailwind
colors: {
  custom: {
    50: '#7e5e94',
    500: '#481f68',
    950: '#000000',
  },
}
SCSS
$custom: #481f68;
$custom-light: #7e5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#481f68",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 273.699,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33745,
    "c": 0.12388,
    "h": 306.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#481F68
secondary
#6C9C46
accent
#DD4A8B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481F68

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

Preview Lab → · Contrast checker → · Palette generator →

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