#46126F#46126F

#46126F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.147 H 304.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#46126F
RGBrgb(70, 18, 111)
HSLhsl(274, 72%, 25%)
HSVhsv(274, 84%, 44%)
CMYKcmyk(36.9%, 83.8%, 0%, 56.5%)
CIE-LABlab(19.57, 41.38, -42.65)
CIE-LCHlch(19.57, 59.42, 314.13°)
OKLaboklab(32.55% 0.0832 -0.1216)
OKLCHoklch(32.55% 0.147 304.4)
XYZxyz(5.6107, 2.8824, 15.2966)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46126F #3B6F12
analogous
#17126F #46126F #6F126A
triadic
#46126F #6F4612 #126F46
tetradic
#46126F #6F1712 #3B6F12 #126A6F
square
#46126F #6F1712 #3B6F12 #126A6F
split-complementary
#46126F #6A6F12 #126F17
monochromatic
#11041A #25093A #46126F #671BA4 #8823D8

Accessibility & contrast

On white

13.32
#46126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#46126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46126F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46126F#FFFFFF#000000##FFFFFF
##46126F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#3E2B41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #46126f;
/* rgb */ color: rgb(70, 18, 111);
/* oklch */ color: oklch(32.6% 0.147 304.4);
Tailwind
colors: {
  custom: {
    50: '#7e5799',
    500: '#46126f',
    950: '#000000',
  },
}
SCSS
$custom: #46126f;
$custom-light: #7e5799;
$custom-dark: #000000;
JSON
{
  "hex": "#46126f",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 273.548,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.14733,
    "h": 304.4
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#46126F
secondary
#68A637
accent
#EF3989
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #46126F

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

Preview Lab → · Contrast checker → · Palette generator →

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