#46175A#46175A

#46175A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.119 H 313.9°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#46175A
RGBrgb(70, 23, 90)
HSLhsl(282, 59%, 22%)
HSVhsv(282, 74%, 35%)
CMYKcmyk(22.2%, 74.4%, 0%, 64.7%)
CIE-LABlab(18.60, 34.10, -30.39)
CIE-LCHlch(18.60, 45.68, 318.29°)
OKLaboklab(31.32% 0.0824 -0.0856)
OKLCHoklch(31.32% 0.119 313.9)
XYZxyz(4.6773, 2.6532, 9.9366)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46175A #2B5A17
analogous
#25175A #46175A #5A174C
triadic
#46175A #5A4617 #175A46
tetradic
#46175A #5A2517 #2B5A17 #174C5A
square
#46175A #5A2517 #2B5A17 #174C5A
split-complementary
#46175A #4C5A17 #175A25
monochromatic
#130618 #200B29 #46175A #6C238B #9230BB

Accessibility & contrast

On white

13.72
#46175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46175A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46175A#FFFFFF#000000##FFFFFF
##46175A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#442536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #46175a;
/* rgb */ color: rgb(70, 23, 90);
/* oklch */ color: oklch(31.3% 0.119 313.9);
Tailwind
colors: {
  custom: {
    50: '#7c5989',
    500: '#46175a',
    950: '#000000',
  },
}
SCSS
$custom: #46175a;
$custom-light: #7c5989;
$custom-dark: #000000;
JSON
{
  "hex": "#46175a",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 282.09,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.11887,
    "h": 313.9
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#46175A
secondary
#55913C
accent
#E24574
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #46175A

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

Preview Lab → · Contrast checker → · Palette generator →

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