#46197B#46197B

#46197B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.153 H 298.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#46197B
RGBrgb(70, 25, 123)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 80%, 48%)
CMYKcmyk(43.1%, 79.7%, 0%, 51.8%)
CIE-LABlab(21.68, 41.51, -46.91)
CIE-LCHlch(21.68, 62.64, 311.50°)
OKLaboklab(34.37% 0.0736 -0.1342)
OKLCHoklch(34.37% 0.153 298.7)
XYZxyz(6.4477, 3.4273, 19.0569)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46197B #4E7B19
analogous
#191D7B #46197B #77197B
triadic
#46197B #7B4619 #197B46
tetradic
#46197B #7B191D #4E7B19 #197B77
square
#46197B #7B191D #4E7B19 #197B77
split-complementary
#46197B #7B7719 #1D7B19
monochromatic
#0E0519 #290F48 #46197B #6323AE #8138D7

Accessibility & contrast

On white

12.46
#46197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#46197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46197B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46197B#FFFFFF#000000##FFFFFF
##46197B1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#393349
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46197b;
/* rgb */ color: rgb(70, 25, 123);
/* oklch */ color: oklch(34.4% 0.153 298.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ba2',
    500: '#46197b',
    950: '#000000',
  },
}
SCSS
$custom: #46197b;
$custom-light: #7f5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#46197b",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 267.551,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34365,
    "c": 0.15302,
    "h": 298.7
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#46197B
secondary
#7CAF40
accent
#E93F9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46197B

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

Preview Lab → · Contrast checker → · Palette generator →

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