#46158D#46158D

#46158D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.176 H 293.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#46158D
RGBrgb(70, 21, 141)
HSLhsl(265, 74%, 32%)
HSVhsv(265, 85%, 55%)
CMYKcmyk(50.4%, 85.1%, 0%, 44.7%)
CIE-LABlab(22.87, 47.88, -56.30)
CIE-LCHlch(22.87, 73.91, 310.38°)
OKLaboklab(35.72% 0.0705 -0.1617)
OKLCHoklch(35.72% 0.176 293.6)
XYZxyz(7.6003, 3.7613, 25.5197)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46158D #5C8D15
analogous
#15208D #46158D #82158D
triadic
#46158D #8D4615 #158D46
tetradic
#46158D #8D1520 #5C8D15 #158D82
square
#46158D #8D1520 #5C8D15 #158D82
split-complementary
#46158D #8D8215 #208D15
monochromatic
#110522 #2C0D58 #46158D #601DC2 #7F3BE2

Accessibility & contrast

On white

11.98
#46158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#46158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46158D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46158D#FFFFFF#000000##FFFFFF
##46158D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#2F3953
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46158d;
/* rgb */ color: rgb(70, 21, 141);
/* oklch */ color: oklch(35.7% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#825baf',
    500: '#46158d',
    950: '#000000',
  },
}
SCSS
$custom: #46158d;
$custom-light: #825baf;
$custom-dark: #000000;
JSON
{
  "hex": "#46158d",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 264.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.17638,
    "h": 293.6
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#46158D
secondary
#8BC13D
accent
#F137A5
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #46158D

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

Preview Lab → · Contrast checker → · Palette generator →

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