#46175F#46175F

#46175F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.124 H 311.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#46175F
RGBrgb(70, 23, 95)
HSLhsl(279, 61%, 23%)
HSVhsv(279, 76%, 37%)
CMYKcmyk(26.3%, 75.8%, 0%, 62.7%)
CIE-LABlab(18.98, 35.30, -33.11)
CIE-LCHlch(18.98, 48.40, 316.83°)
OKLaboklab(31.71% 0.0818 -0.0936)
OKLCHoklch(31.71% 0.124 311.2)
XYZxyz(4.8974, 2.7412, 11.0954)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46175F #305F17
analogous
#22175F #46175F #5F1754
triadic
#46175F #5F4617 #175F46
tetradic
#46175F #5F2217 #305F17 #17545F
square
#46175F #5F2217 #305F17 #17545F
split-complementary
#46175F #545F17 #175F22
monochromatic
#120619 #220B2E #46175F #6A2390 #8F2FC2

Accessibility & contrast

On white

13.56
#46175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#46175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46175F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46175F#FFFFFF#000000##FFFFFF
##46175F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#432739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #46175f;
/* rgb */ color: rgb(70, 23, 95);
/* oklch */ color: oklch(31.7% 0.124 311.2);
Tailwind
colors: {
  custom: {
    50: '#7d598d',
    500: '#46175f',
    950: '#000000',
  },
}
SCSS
$custom: #46175f;
$custom-light: #7d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#46175f",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 279.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.12435,
    "h": 311.2
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#46175F
secondary
#5B963C
accent
#E4447B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #46175F

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

Preview Lab → · Contrast checker → · Palette generator →

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