#46289A#46289A

#46289A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.173 H 287.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#46289A
RGBrgb(70, 40, 154)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 60%)
CMYKcmyk(54.5%, 74%, 0%, 39.6%)
CIE-LABlab(27.16, 42.82, -57.26)
CIE-LCHlch(27.16, 71.50, 306.78°)
OKLaboklab(39.11% 0.0522 -0.1647)
OKLCHoklch(39.11% 0.173 287.6)
XYZxyz(9.1156, 5.1523, 31.0798)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46289A #7C9A28
analogous
#28439A #46289A #7F289A
triadic
#46289A #9A4628 #289A46
tetradic
#46289A #9A2843 #7C9A28 #289A7F
square
#46289A #9A2843 #7C9A28 #289A7F
split-complementary
#46289A #9A7F28 #439A28
monochromatic
#1A0F39 #301B69 #46289A #5C35CA #8365D7

Accessibility & contrast

On white

10.34
#46289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#46289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46289A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46289A#FFFFFF#000000##FFFFFF
##46289A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#24475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46289a;
/* rgb */ color: rgb(70, 40, 154);
/* oklch */ color: oklch(39.1% 0.173 287.6);
Tailwind
colors: {
  custom: {
    50: '#8365b9',
    500: '#46289a',
    950: '#000000',
  },
}
SCSS
$custom: #46289a;
$custom-light: #8365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#46289a",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 255.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.17274,
    "h": 287.6
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#46289A
secondary
#A5BD61
accent
#E246B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46289A

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

Preview Lab → · Contrast checker → · Palette generator →

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