#46197A#46197A

#46197A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.152 H 299.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#46197A
RGBrgb(70, 25, 122)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 80%, 48%)
CMYKcmyk(42.6%, 79.5%, 0%, 52.2%)
CIE-LABlab(21.59, 41.24, -46.42)
CIE-LCHlch(21.59, 62.09, 311.62°)
OKLaboklab(34.27% 0.0738 -0.1327)
OKLCHoklch(34.27% 0.152 299.1)
XYZxyz(6.3854, 3.4024, 18.7289)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46197A #4D7A19
analogous
#191D7A #46197A #77197A
triadic
#46197A #7A4619 #197A46
tetradic
#46197A #7A191D #4D7A19 #197A77
square
#46197A #7A191D #4D7A19 #197A77
split-complementary
#46197A #7A7719 #1D7A19
monochromatic
#0F0519 #290F47 #46197A #6323AD #8137D6

Accessibility & contrast

On white

12.50
#46197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#46197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46197A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46197A#FFFFFF#000000##FFFFFF
##46197A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46197a;
/* rgb */ color: rgb(70, 25, 122);
/* oklch */ color: oklch(34.3% 0.152 299.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ba1',
    500: '#46197a',
    950: '#000000',
  },
}
SCSS
$custom: #46197a;
$custom-light: #7f5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#46197a",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 267.835,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.1519,
    "h": 299.1
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#46197A
secondary
#7BAF40
accent
#E93F9A
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46197A

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

Preview Lab → · Contrast checker → · Palette generator →

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