#49198D#49198D

#49198D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.173 H 294.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#49198D
RGBrgb(73, 25, 141)
HSLhsl(265, 70%, 33%)
HSVhsv(265, 82%, 55%)
CMYKcmyk(48.2%, 82.3%, 0%, 44.7%)
CIE-LABlab(23.79, 46.73, -54.77)
CIE-LCHlch(23.79, 72.00, 310.47°)
OKLaboklab(36.44% 0.0726 -0.1571)
OKLCHoklch(36.44% 0.173 294.8)
XYZxyz(7.9017, 4.0346, 25.5566)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49198D #5D8D19
analogous
#19238D #49198D #83198D
triadic
#49198D #8D4919 #198D49
tetradic
#49198D #8D1923 #5D8D19 #198D83
square
#49198D #8D1923 #5D8D19 #198D83
split-complementary
#49198D #8D8319 #238D19
monochromatic
#130725 #2E1059 #49198D #6422C1 #8343DE

Accessibility & contrast

On white

11.62
#49198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#49198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49198D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49198D#FFFFFF#000000##FFFFFF
##49198D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#353B54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #49198d;
/* rgb */ color: rgb(73, 25, 141);
/* oklch */ color: oklch(36.4% 0.173 294.8);
Tailwind
colors: {
  custom: {
    50: '#845daf',
    500: '#49198d',
    950: '#000000',
  },
}
SCSS
$custom: #49198d;
$custom-light: #845daf;
$custom-dark: #000000;
JSON
{
  "hex": "#49198d",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 264.828,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.17312,
    "h": 294.8
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#49198D
secondary
#8CBF43
accent
#ED3BA3
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #49198D

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

Preview Lab → · Contrast checker → · Palette generator →

#49198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva