#49197F#49197F

#49197F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.158 H 299.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#49197F
RGBrgb(73, 25, 127)
HSLhsl(268, 67%, 30%)
HSVhsv(268, 80%, 50%)
CMYKcmyk(42.5%, 80.3%, 0%, 50.2%)
CIE-LABlab(22.46, 43.07, -48.16)
CIE-LCHlch(22.46, 64.61, 311.80°)
OKLaboklab(35.11% 0.0771 -0.1377)
OKLCHoklch(35.11% 0.158 299.2)
XYZxyz(6.9251, 3.6439, 20.4131)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197F #4F7F19
analogous
#191C7F #49197F #7C197F
triadic
#49197F #7F4919 #197F49
tetradic
#49197F #7F191C #4F7F19 #197F7C
square
#49197F #7F191C #4F7F19 #197F7C
split-complementary
#49197F #7F7C19 #1C7F19
monochromatic
#0F051A #2C0F4C #49197F #6623B2 #853AD8

Accessibility & contrast

On white

12.15
#49197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#49197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49197F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197F#FFFFFF#000000##FFFFFF
##49197F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3C354C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #49197f;
/* rgb */ color: rgb(73, 25, 127);
/* oklch */ color: oklch(35.1% 0.158 299.2);
Tailwind
colors: {
  custom: {
    50: '#825ca5',
    500: '#49197f',
    950: '#000000',
  },
}
SCSS
$custom: #49197f;
$custom-light: #825ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#49197f",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 268.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.15786,
    "h": 299.2
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#49197F
secondary
#7DB341
accent
#EA3E99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197F

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

Preview Lab → · Contrast checker → · Palette generator →

#49197F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva