#46198F#46198F

#46198F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.175 H 292.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#46198F
RGBrgb(70, 25, 143)
HSLhsl(263, 70%, 33%)
HSVhsv(263, 83%, 56%)
CMYKcmyk(51%, 82.5%, 0%, 43.9%)
CIE-LABlab(23.61, 46.84, -56.33)
CIE-LCHlch(23.61, 73.26, 309.75°)
OKLaboklab(36.29% 0.0671 -0.1618)
OKLCHoklch(36.29% 0.175 292.5)
XYZxyz(7.8299, 3.9802, 26.3370)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46198F #628F19
analogous
#19278F #46198F #81198F
triadic
#46198F #8F4619 #198F46
tetradic
#46198F #8F1927 #628F19 #198F81
square
#46198F #8F1927 #628F19 #198F81
split-complementary
#46198F #8F8119 #278F19
monochromatic
#130727 #2C105B #46198F #5F22C3 #7F44DE

Accessibility & contrast

On white

11.69
#46198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#46198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46198F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46198F#FFFFFF#000000##FFFFFF
##46198F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#2E3C55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46198f;
/* rgb */ color: rgb(70, 25, 143);
/* oklch */ color: oklch(36.3% 0.175 292.5);
Tailwind
colors: {
  custom: {
    50: '#825cb1',
    500: '#46198f',
    950: '#000000',
  },
}
SCSS
$custom: #46198f;
$custom-light: #825cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#46198f",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 262.881,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36292,
    "c": 0.17516,
    "h": 292.5
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#46198F
secondary
#90BF44
accent
#ED3BA9
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #46198F

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

Preview Lab → · Contrast checker → · Palette generator →

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