#481768#481768

#481768 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.135 H 308.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#481768
RGBrgb(72, 23, 104)
HSLhsl(276, 64%, 25%)
HSVhsv(276, 78%, 41%)
CMYKcmyk(30.8%, 77.9%, 0%, 59.2%)
CIE-LABlab(20.00, 37.94, -37.36)
CIE-LCHlch(20.00, 53.25, 315.44°)
OKLaboklab(32.73% 0.0833 -0.106)
OKLCHoklch(32.73% 0.135 308.1)
XYZxyz(5.4771, 2.9901, 13.3826)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481768 #376817
analogous
#1F1768 #481768 #681760
triadic
#481768 #684817 #176848
tetradic
#481768 #681F17 #376817 #176068
square
#481768 #681F17 #376817 #176068
split-complementary
#481768 #606817 #17681F
monochromatic
#110619 #250C36 #481768 #6B229A #8D2DCC

Accessibility & contrast

On white

13.14
#481768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#481768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481768
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481768#FFFFFF#000000##FFFFFF
##4817681.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#432A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481768;
/* rgb */ color: rgb(72, 23, 104);
/* oklch */ color: oklch(32.7% 0.135 308.1);
Tailwind
colors: {
  custom: {
    50: '#7f5994',
    500: '#481768',
    950: '#000000',
  },
}
SCSS
$custom: #481768;
$custom-light: #7f5994;
$custom-dark: #000000;
JSON
{
  "hex": "#481768",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 276.296,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.13483,
    "h": 308.1
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#481768
secondary
#639E3D
accent
#E74183
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481768

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

Preview Lab → · Contrast checker → · Palette generator →

#481768 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva