#46175C#46175C

#46175C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.121 H 312.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#46175C
RGBrgb(70, 23, 92)
HSLhsl(281, 60%, 23%)
HSVhsv(281, 75%, 36%)
CMYKcmyk(23.9%, 75%, 0%, 63.9%)
CIE-LABlab(18.75, 34.57, -31.49)
CIE-LCHlch(18.75, 46.76, 317.68°)
OKLaboklab(31.48% 0.0822 -0.0888)
OKLCHoklch(31.48% 0.121 312.8)
XYZxyz(4.7636, 2.6877, 10.3910)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46175C #2D5C17
analogous
#24175C #46175C #5C174F
triadic
#46175C #5C4617 #175C46
tetradic
#46175C #5C2417 #2D5C17 #174F5C
square
#46175C #5C2417 #2D5C17 #174F5C
split-complementary
#46175C #4F5C17 #175C24
monochromatic
#130618 #210B2B #46175C #6B238D #912FBE

Accessibility & contrast

On white

13.66
#46175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#46175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46175C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46175C#FFFFFF#000000##FFFFFF
##46175C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#112F5A
Tritanopia (blue-blind)
#442637
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #46175c;
/* rgb */ color: rgb(70, 23, 92);
/* oklch */ color: oklch(31.5% 0.121 312.8);
Tailwind
colors: {
  custom: {
    50: '#7c598b',
    500: '#46175c',
    950: '#000000',
  },
}
SCSS
$custom: #46175c;
$custom-light: #7c598b;
$custom-dark: #000000;
JSON
{
  "hex": "#46175c",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 280.87,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.12106,
    "h": 312.8
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#46175C
secondary
#58933C
accent
#E34577
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #46175C

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

Preview Lab → · Contrast checker → · Palette generator →

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