#491274#491274

#491274 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 304.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#491274
RGBrgb(73, 18, 116)
HSLhsl(274, 73%, 26%)
HSVhsv(274, 84%, 45%)
CMYKcmyk(37.1%, 84.5%, 0%, 54.5%)
CIE-LABlab(20.48, 43.12, -44.37)
CIE-LCHlch(20.48, 61.87, 314.18°)
OKLaboklab(33.42% 0.0863 -0.1265)
OKLCHoklch(33.42% 0.153 304.3)
XYZxyz(6.1156, 3.1101, 16.7977)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491274 #3D7412
analogous
#181274 #491274 #74126E
triadic
#491274 #744912 #127449
tetradic
#491274 #741812 #3D7412 #126E74
square
#491274 #741812 #3D7412 #126E74
split-complementary
#491274 #6E7412 #127418
monochromatic
#11041A #280A3F #491274 #6A1AA9 #8C23DD

Accessibility & contrast

On white

12.95
#491274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#491274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491274
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491274#FFFFFF#000000##FFFFFF
##4912741.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#402D44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #491274;
/* rgb */ color: rgb(73, 18, 116);
/* oklch */ color: oklch(33.4% 0.153 304.3);
Tailwind
colors: {
  custom: {
    50: '#81589d',
    500: '#491274',
    950: '#000000',
  },
}
SCSS
$custom: #491274;
$custom-light: #81589d;
$custom-dark: #000000;
JSON
{
  "hex": "#491274",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 273.673,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33423,
    "c": 0.15318,
    "h": 304.3
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#491274
secondary
#6AAB37
accent
#F03889
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491274

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

Preview Lab → · Contrast checker → · Palette generator →

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