#49187F#49187F

#49187F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.159 H 299.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#49187F
RGBrgb(73, 24, 127)
HSLhsl(269, 68%, 30%)
HSVhsv(269, 81%, 50%)
CMYKcmyk(42.5%, 81.1%, 0%, 50.2%)
CIE-LABlab(22.31, 43.49, -48.40)
CIE-LCHlch(22.31, 65.07, 311.94°)
OKLaboklab(35.01% 0.078 -0.1384)
OKLCHoklch(35.01% 0.159 299.4)
XYZxyz(6.9041, 3.6020, 20.4061)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187F #4E7F18
analogous
#181A7F #49187F #7D187F
triadic
#49187F #7F4918 #187F49
tetradic
#49187F #7F181A #4E7F18 #187F7D
square
#49187F #7F181A #4E7F18 #187F7D
split-complementary
#49187F #7F7D18 #1A7F18
monochromatic
#0F051A #2B0E4C #49187F #6722B2 #8538D9

Accessibility & contrast

On white

12.21
#49187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#49187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49187F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187F#FFFFFF#000000##FFFFFF
##49187F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#3C344B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49187f;
/* rgb */ color: rgb(73, 24, 127);
/* oklch */ color: oklch(35.0% 0.159 299.4);
Tailwind
colors: {
  custom: {
    50: '#825ba5',
    500: '#49187f',
    950: '#000000',
  },
}
SCSS
$custom: #49187f;
$custom-light: #825ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#49187f",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 268.544,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35008,
    "c": 0.1589,
    "h": 299.4
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#49187F
secondary
#7CB33F
accent
#EB3D98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187F

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

Preview Lab → · Contrast checker → · Palette generator →

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