#46177F#46177F

#46177F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.159 H 297.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#46177F
RGBrgb(70, 23, 127)
HSLhsl(267, 69%, 29%)
HSVhsv(267, 82%, 50%)
CMYKcmyk(44.9%, 81.9%, 0%, 50.2%)
CIE-LABlab(21.75, 43.43, -49.33)
CIE-LCHlch(21.75, 65.72, 311.36°)
OKLaboklab(34.53% 0.074 -0.1413)
OKLCHoklch(34.53% 0.159 297.7)
XYZxyz(6.6619, 3.4471, 20.3889)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46177F #507F17
analogous
#171C7F #46177F #7A177F
triadic
#46177F #7F4617 #177F46
tetradic
#46177F #7F171C #507F17 #177F7A
square
#46177F #7F171C #507F17 #177F7A
split-complementary
#46177F #7F7A17 #1C7F17
monochromatic
#0E051A #290E4B #46177F #6320B3 #8036DB

Accessibility & contrast

On white

12.43
#46177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#46177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46177F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46177F#FFFFFF#000000##FFFFFF
##46177F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#37344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46177f;
/* rgb */ color: rgb(70, 23, 127);
/* oklch */ color: oklch(34.5% 0.159 297.7);
Tailwind
colors: {
  custom: {
    50: '#805ba5',
    500: '#46177f',
    950: '#000000',
  },
}
SCSS
$custom: #46177f;
$custom-light: #805ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#46177f",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 267.115,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.15949,
    "h": 297.7
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#46177F
secondary
#7FB43E
accent
#EC3C9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46177F

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

Preview Lab → · Contrast checker → · Palette generator →

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