#46108D#46108D

#46108D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.180 H 294.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#46108D
RGBrgb(70, 16, 141)
HSLhsl(266, 80%, 31%)
HSVhsv(266, 89%, 55%)
CMYKcmyk(50.4%, 88.7%, 0%, 44.7%)
CIE-LABlab(22.29, 49.60, -57.26)
CIE-LCHlch(22.29, 75.75, 310.90°)
OKLaboklab(35.32% 0.0734 -0.1644)
OKLCHoklch(35.32% 0.18 294.1)
XYZxyz(7.5175, 3.5955, 25.4921)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46108D #578D10
analogous
#10188D #46108D #84108D
triadic
#46108D #8D4610 #108D46
tetradic
#46108D #8D1018 #578D10 #108D84
square
#46108D #8D1018 #578D10 #108D84
split-complementary
#46108D #8D8410 #188D10
monochromatic
#0F041F #2B0A56 #46108D #6116C4 #7F30E7

Accessibility & contrast

On white

12.21
#46108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#46108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46108D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46108D#FFFFFF#000000##FFFFFF
##46108D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#2F3852
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46108d;
/* rgb */ color: rgb(70, 16, 141);
/* oklch */ color: oklch(35.3% 0.180 294.1);
Tailwind
colors: {
  custom: {
    50: '#8259af',
    500: '#46108d',
    950: '#000000',
  },
}
SCSS
$custom: #46108d;
$custom-light: #8259af;
$custom-dark: #000000;
JSON
{
  "hex": "#46108d",
  "rgb": {
    "r": 70,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 265.92,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.18005,
    "h": 294.1
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#46108D
secondary
#86C237
accent
#F632A1
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #46108D

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

Preview Lab → · Contrast checker → · Palette generator →

#46108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva