#46289D#46289D

#46289D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.176 H 287.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#46289D
RGBrgb(70, 40, 157)
HSLhsl(255, 59%, 39%)
HSVhsv(255, 75%, 62%)
CMYKcmyk(55.4%, 74.5%, 0%, 38.4%)
CIE-LABlab(27.45, 43.70, -58.63)
CIE-LCHlch(27.45, 73.13, 306.70°)
OKLaboklab(39.39% 0.0515 -0.1687)
OKLCHoklch(39.39% 0.176 287)
XYZxyz(9.3686, 5.2535, 32.4121)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46289D #7F9D28
analogous
#28449D #46289D #80289D
triadic
#46289D #9D4628 #289D46
tetradic
#46289D #9D2844 #7F9D28 #289D80
square
#46289D #9D2844 #7F9D28 #289D80
split-complementary
#46289D #9D8028 #449D28
monochromatic
#1B0F3B #301C6C #46289D #5D36CC #8467D8

Accessibility & contrast

On white

10.24
#46289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#46289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46289D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46289D#FFFFFF#000000##FFFFFF
##46289D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#214860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46289d;
/* rgb */ color: rgb(70, 40, 157);
/* oklch */ color: oklch(39.4% 0.176 287.0);
Tailwind
colors: {
  custom: {
    50: '#8365bb',
    500: '#46289d',
    950: '#000000',
  },
}
SCSS
$custom: #46289d;
$custom-light: #8365bb;
$custom-dark: #000000;
JSON
{
  "hex": "#46289d",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 255.385,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.17636,
    "h": 287
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#46289D
secondary
#A7BE62
accent
#E345BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46289D

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

Preview Lab → · Contrast checker → · Palette generator →

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