#46197D#46197D

#46197D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.155 H 298.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#46197D
RGBrgb(70, 25, 125)
HSLhsl(267, 67%, 29%)
HSVhsv(267, 80%, 49%)
CMYKcmyk(44%, 80%, 0%, 51%)
CIE-LABlab(21.86, 42.04, -47.88)
CIE-LCHlch(21.86, 63.71, 311.28°)
OKLaboklab(34.55% 0.073 -0.137)
OKLCHoklch(34.55% 0.155 298)
XYZxyz(6.5741, 3.4779, 19.7230)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46197D #507D19
analogous
#191E7D #46197D #78197D
triadic
#46197D #7D4619 #197D46
tetradic
#46197D #7D191E #507D19 #197D78
square
#46197D #7D191E #507D19 #197D78
split-complementary
#46197D #7D7819 #1E7D19
monochromatic
#0E051A #290F4A #46197D #6323B0 #8039D7

Accessibility & contrast

On white

12.38
#46197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#46197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46197D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46197D#FFFFFF#000000##FFFFFF
##46197D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#38344A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46197d;
/* rgb */ color: rgb(70, 25, 125);
/* oklch */ color: oklch(34.5% 0.155 298.0);
Tailwind
colors: {
  custom: {
    50: '#805ba4',
    500: '#46197d',
    950: '#000000',
  },
}
SCSS
$custom: #46197d;
$custom-light: #805ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#46197d",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 267,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.15525,
    "h": 298
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#46197D
secondary
#7FB140
accent
#EA3E9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46197D

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

Preview Lab → · Contrast checker → · Palette generator →

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