#46197C#46197C

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

Color values

HEX#46197C
RGBrgb(70, 25, 124)
HSLhsl(267, 66%, 29%)
HSVhsv(267, 80%, 49%)
CMYKcmyk(43.5%, 79.8%, 0%, 51.4%)
CIE-LABlab(21.77, 41.77, -47.39)
CIE-LCHlch(21.77, 63.17, 311.39°)
OKLaboklab(34.46% 0.0733 -0.1356)
OKLCHoklch(34.46% 0.154 298.4)
XYZxyz(6.5106, 3.4525, 19.3883)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46197C #4F7C19
analogous
#191D7C #46197C #78197C
triadic
#46197C #7C4619 #197C46
tetradic
#46197C #7C191D #4F7C19 #197C78
square
#46197C #7C191D #4F7C19 #197C78
split-complementary
#46197C #7C7819 #1D7C19
monochromatic
#0E0519 #290F49 #46197C #6323AF #8038D7

Accessibility & contrast

On white

12.42
#46197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46197C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46197C#FFFFFF#000000##FFFFFF
##46197C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46197c;
/* rgb */ color: rgb(70, 25, 124);
/* oklch */ color: oklch(34.5% 0.154 298.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ba3',
    500: '#46197c',
    950: '#000000',
  },
}
SCSS
$custom: #46197c;
$custom-light: #7f5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#46197c",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 267.273,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.15412,
    "h": 298.4
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#46197C
secondary
#7DB040
accent
#E93E9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46197C

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

Preview Lab → · Contrast checker → · Palette generator →

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