#46175B#46175B

#46175B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.120 H 313.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#46175B
RGBrgb(70, 23, 91)
HSLhsl(281, 60%, 22%)
HSVhsv(281, 75%, 36%)
CMYKcmyk(23.1%, 74.7%, 0%, 64.3%)
CIE-LABlab(18.67, 34.34, -30.94)
CIE-LCHlch(18.67, 46.22, 317.98°)
OKLaboklab(31.4% 0.0823 -0.0872)
OKLCHoklch(31.4% 0.12 313.3)
XYZxyz(4.7202, 2.6704, 10.1623)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46175B #2C5B17
analogous
#24175B #46175B #5B174E
triadic
#46175B #5B4617 #175B46
tetradic
#46175B #5B2417 #2C5B17 #174E5B
square
#46175B #5B2417 #2C5B17 #174E5B
split-complementary
#46175B #4E5B17 #175B24
monochromatic
#130618 #200B2A #46175B #6C238C #9130BD

Accessibility & contrast

On white

13.69
#46175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#46175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46175B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46175B#FFFFFF#000000##FFFFFF
##46175B1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#122F59
Tritanopia (blue-blind)
#442537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #46175b;
/* rgb */ color: rgb(70, 23, 91);
/* oklch */ color: oklch(31.4% 0.120 313.3);
Tailwind
colors: {
  custom: {
    50: '#7c598a',
    500: '#46175b',
    950: '#000000',
  },
}
SCSS
$custom: #46175b;
$custom-light: #7c598a;
$custom-dark: #000000;
JSON
{
  "hex": "#46175b",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 281.471,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.314,
    "c": 0.11996,
    "h": 313.3
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#46175B
secondary
#56923C
accent
#E34576
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #46175B

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

Preview Lab → · Contrast checker → · Palette generator →

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