#481775#481775

#481775 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 302.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#481775
RGBrgb(72, 23, 117)
HSLhsl(271, 67%, 27%)
HSVhsv(271, 80%, 46%)
CMYKcmyk(38.5%, 80.3%, 0%, 54.1%)
CIE-LABlab(21.11, 41.19, -43.99)
CIE-LCHlch(21.11, 60.26, 313.12°)
OKLaboklab(33.86% 0.0802 -0.1255)
OKLCHoklch(33.86% 0.149 302.6)
XYZxyz(6.1890, 3.2749, 17.1322)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481775 #447517
analogous
#191775 #481775 #751773
triadic
#481775 #754817 #177548
tetradic
#481775 #751917 #447517 #177375
square
#481775 #751917 #447517 #177375
split-complementary
#481775 #737517 #177519
monochromatic
#10051A #290D42 #481775 #6721A8 #8730D6

Accessibility & contrast

On white

12.69
#481775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481775
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481775#FFFFFF#000000##FFFFFF
##4817751.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#3E3045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481775;
/* rgb */ color: rgb(72, 23, 117);
/* oklch */ color: oklch(33.9% 0.149 302.6);
Tailwind
colors: {
  custom: {
    50: '#805a9e',
    500: '#481775',
    950: '#000000',
  },
}
SCSS
$custom: #481775;
$custom-light: #805a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481775",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 271.277,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.14893,
    "h": 302.6
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#481775
secondary
#72AA3D
accent
#EA3E90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481775

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

Preview Lab → · Contrast checker → · Palette generator →

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