#46289E#46289E

#46289E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.178 H 286.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#46289E
RGBrgb(70, 40, 158)
HSLhsl(255, 60%, 39%)
HSVhsv(255, 75%, 62%)
CMYKcmyk(55.7%, 74.7%, 0%, 38%)
CIE-LABlab(27.54, 44.00, -59.09)
CIE-LCHlch(27.54, 73.67, 306.67°)
OKLaboklab(39.49% 0.0513 -0.17)
OKLCHoklch(39.49% 0.178 286.8)
XYZxyz(9.4543, 5.2878, 32.8636)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46289E #809E28
analogous
#28459E #46289E #81289E
triadic
#46289E #9E4628 #289E46
tetradic
#46289E #9E2845 #809E28 #289E81
square
#46289E #9E2845 #809E28 #289E81
split-complementary
#46289E #9E8128 #459E28
monochromatic
#1B0F3C #301C6D #46289E #5D37CC #8468D9

Accessibility & contrast

On white

10.21
#46289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#46289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46289E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46289E#FFFFFF#000000##FFFFFF
##46289E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#204861
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46289e;
/* rgb */ color: rgb(70, 40, 158);
/* oklch */ color: oklch(39.5% 0.178 286.8);
Tailwind
colors: {
  custom: {
    50: '#8365bc',
    500: '#46289e',
    950: '#000000',
  },
}
SCSS
$custom: #46289e;
$custom-light: #8365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46289e",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 255.254,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.17756,
    "h": 286.8
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#46289E
secondary
#A7BF63
accent
#E345BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46289E

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

Preview Lab → · Contrast checker → · Palette generator →

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