#46126C#46126C

#46126C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.144 H 305.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#46126C
RGBrgb(70, 18, 108)
HSLhsl(275, 71%, 25%)
HSVhsv(275, 83%, 42%)
CMYKcmyk(35.2%, 83.3%, 0%, 57.6%)
CIE-LABlab(19.30, 40.64, -41.14)
CIE-LCHlch(19.30, 57.83, 314.65°)
OKLaboklab(32.28% 0.0841 -0.1172)
OKLCHoklch(32.28% 0.144 305.7)
XYZxyz(5.4483, 2.8175, 14.4413)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46126C #386C12
analogous
#19126C #46126C #6C1265
triadic
#46126C #6C4612 #126C46
tetradic
#46126C #6C1912 #386C12 #12656C
square
#46126C #6C1912 #386C12 #12656C
split-complementary
#46126C #656C12 #126C19
monochromatic
#11041A #240938 #46126C #681BA0 #8A23D5

Accessibility & contrast

On white

13.43
#46126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#46126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46126C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46126C#FFFFFF#000000##FFFFFF
##46126C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#3F2A3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #46126c;
/* rgb */ color: rgb(70, 18, 108);
/* oklch */ color: oklch(32.3% 0.144 305.7);
Tailwind
colors: {
  custom: {
    50: '#7e5797',
    500: '#46126c',
    950: '#000000',
  },
}
SCSS
$custom: #46126c;
$custom-light: #7e5797;
$custom-dark: #000000;
JSON
{
  "hex": "#46126c",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 274.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.1442,
    "h": 305.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#46126C
secondary
#64A336
accent
#EE3A86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #46126C

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

Preview Lab → · Contrast checker → · Palette generator →

#46126C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva