#481F62#481F62

#481F62 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.3% C 0.117 H 309.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#481F62
RGBrgb(72, 31, 98)
HSLhsl(277, 52%, 25%)
HSVhsv(277, 68%, 38%)
CMYKcmyk(26.5%, 68.4%, 0%, 61.6%)
CIE-LABlab(20.98, 32.43, -31.85)
CIE-LCHlch(20.98, 45.45, 315.51°)
OKLaboklab(33.28% 0.0745 -0.0899)
OKLCHoklch(33.28% 0.117 309.6)
XYZxyz(5.3666, 3.2396, 11.8955)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F62 #39621F
analogous
#261F62 #481F62 #621F5B
triadic
#481F62 #62481F #1F6248
tetradic
#481F62 #62261F #39621F #1F5B62
square
#481F62 #62261F #39621F #1F5B62
split-complementary
#481F62 #5B621F #1F6226
monochromatic
#110717 #261034 #481F62 #6A2E90 #8C3CBF

Accessibility & contrast

On white

12.74
#481F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F62
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F62#FFFFFF#000000##FFFFFF
##481F621.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#153360
Tritanopia (blue-blind)
#442C3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481f62;
/* rgb */ color: rgb(72, 31, 98);
/* oklch */ color: oklch(33.3% 0.117 309.6);
Tailwind
colors: {
  custom: {
    50: '#7e5e8f',
    500: '#481f62',
    950: '#000000',
  },
}
SCSS
$custom: #481f62;
$custom-light: #7e5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#481f62",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 276.716,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33285,
    "c": 0.11676,
    "h": 309.6
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#481F62
secondary
#659746
accent
#DB4C84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481F62

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

Preview Lab → · Contrast checker → · Palette generator →

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