#491272#491272

#491272 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.151 H 305.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#491272
RGBrgb(73, 18, 114)
HSLhsl(274, 73%, 26%)
HSVhsv(274, 84%, 45%)
CMYKcmyk(36%, 84.2%, 0%, 55.3%)
CIE-LABlab(20.30, 42.63, -43.38)
CIE-LCHlch(20.30, 60.82, 314.51°)
OKLaboklab(33.24% 0.0869 -0.1236)
OKLCHoklch(33.24% 0.151 305.1)
XYZxyz(6.0005, 3.0640, 16.1916)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491272 #3B7212
analogous
#191272 #491272 #72126B
triadic
#491272 #724912 #127249
tetradic
#491272 #721912 #3B7212 #126B72
square
#491272 #721912 #3B7212 #126B72
split-complementary
#491272 #6B7212 #127219
monochromatic
#11041A #270A3D #491272 #6B1AA7 #8D23DC

Accessibility & contrast

On white

13.02
#491272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#491272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491272
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491272#FFFFFF#000000##FFFFFF
##4912721.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#412C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #491272;
/* rgb */ color: rgb(73, 18, 114);
/* oklch */ color: oklch(33.2% 0.151 305.1);
Tailwind
colors: {
  custom: {
    50: '#81589b',
    500: '#491272',
    950: '#000000',
  },
}
SCSS
$custom: #491272;
$custom-light: #81589b;
$custom-dark: #000000;
JSON
{
  "hex": "#491272",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 274.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33241,
    "c": 0.15113,
    "h": 305.1
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#491272
secondary
#68A937
accent
#EF3887
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491272

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

Preview Lab → · Contrast checker → · Palette generator →

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