#46189F#46189F

#46189F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.193 H 288.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#46189F
RGBrgb(70, 24, 159)
HSLhsl(260, 74%, 36%)
HSVhsv(260, 85%, 62%)
CMYKcmyk(56%, 84.9%, 0%, 37.6%)
CIE-LABlab(25.13, 51.52, -63.66)
CIE-LCHlch(25.13, 81.90, 308.98°)
OKLaboklab(37.84% 0.0619 -0.1832)
OKLCHoklch(37.84% 0.193 288.7)
XYZxyz(9.1086, 4.4581, 33.1747)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46189F #719F18
analogous
#182E9F #46189F #89189F
triadic
#46189F #9F4618 #189F46
tetradic
#46189F #9F182E #719F18 #189F89
square
#46189F #9F182E #719F18 #189F89
split-complementary
#46189F #9F8918 #2E9F18
monochromatic
#170835 #2F106A #46189F #5D20D4 #814DE4

Accessibility & contrast

On white

11.10
#46189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#46189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46189F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46189F#FFFFFF#000000##FFFFFF
##46189F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#20425E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #46189f;
/* rgb */ color: rgb(70, 24, 159);
/* oklch */ color: oklch(37.8% 0.193 288.7);
Tailwind
colors: {
  custom: {
    50: '#855dbd',
    500: '#46189f',
    950: '#000000',
  },
}
SCSS
$custom: #46189f;
$custom-light: #855dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#46189f",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 260.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.19337,
    "h": 288.7
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#46189F
secondary
#9DC64D
accent
#F037B1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #46189F

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

Preview Lab → · Contrast checker → · Palette generator →

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