#46197F#46197F

#46197F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.157 H 297.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#46197F
RGBrgb(70, 25, 127)
HSLhsl(266, 67%, 30%)
HSVhsv(266, 80%, 50%)
CMYKcmyk(44.9%, 80.3%, 0%, 50.2%)
CIE-LABlab(22.05, 42.57, -48.84)
CIE-LCHlch(22.05, 64.79, 311.07°)
OKLaboklab(34.74% 0.0724 -0.1398)
OKLCHoklch(34.74% 0.157 297.4)
XYZxyz(6.7032, 3.5295, 20.4027)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46197F #527F19
analogous
#191F7F #46197F #79197F
triadic
#46197F #7F4619 #197F46
tetradic
#46197F #7F191F #527F19 #197F79
square
#46197F #7F191F #527F19 #197F79
split-complementary
#46197F #7F7919 #1F7F19
monochromatic
#0E051A #2A0F4C #46197F #6223B2 #803AD8

Accessibility & contrast

On white

12.31
#46197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#46197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46197F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46197F#FFFFFF#000000##FFFFFF
##46197F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46197f;
/* rgb */ color: rgb(70, 25, 127);
/* oklch */ color: oklch(34.7% 0.157 297.4);
Tailwind
colors: {
  custom: {
    50: '#805ba5',
    500: '#46197f',
    950: '#000000',
  },
}
SCSS
$custom: #46197f;
$custom-light: #805ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#46197f",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 266.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.15747,
    "h": 297.4
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#46197F
secondary
#81B341
accent
#EA3E9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46197F

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

Preview Lab → · Contrast checker → · Palette generator →

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