#481F63#481F63

#481F63 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.118 H 309.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#481F63
RGBrgb(72, 31, 99)
HSLhsl(276, 52%, 25%)
HSVhsv(276, 69%, 39%)
CMYKcmyk(27.3%, 68.7%, 0%, 61.2%)
CIE-LABlab(21.05, 32.68, -32.39)
CIE-LCHlch(21.05, 46.02, 315.25°)
OKLaboklab(33.36% 0.0744 -0.0915)
OKLCHoklch(33.36% 0.118 309.1)
XYZxyz(5.4142, 3.2586, 12.1457)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F63 #3A631F
analogous
#261F63 #481F63 #631F5C
triadic
#481F63 #63481F #1F6348
tetradic
#481F63 #63261F #3A631F #1F5C63
square
#481F63 #63261F #3A631F #1F5C63
split-complementary
#481F63 #5C631F #1F6326
monochromatic
#110717 #261034 #481F63 #6A2E92 #8C3CC0

Accessibility & contrast

On white

12.71
#481F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F63
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F63#FFFFFF#000000##FFFFFF
##481F631.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#143361
Tritanopia (blue-blind)
#442D3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481f63;
/* rgb */ color: rgb(72, 31, 99);
/* oklch */ color: oklch(33.4% 0.118 309.1);
Tailwind
colors: {
  custom: {
    50: '#7e5e90',
    500: '#481f63',
    950: '#000000',
  },
}
SCSS
$custom: #481f63;
$custom-light: #7e5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#481f63",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 276.176,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.11794,
    "h": 309.1
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#481F63
secondary
#679846
accent
#DC4C85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481F63

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

Preview Lab → · Contrast checker → · Palette generator →

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