#46288E#46288E

#46288E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.158 H 290.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#46288E
RGBrgb(70, 40, 142)
HSLhsl(258, 56%, 36%)
HSVhsv(258, 72%, 56%)
CMYKcmyk(50.7%, 71.8%, 0%, 44.3%)
CIE-LABlab(26.08, 39.26, -51.66)
CIE-LCHlch(26.08, 64.89, 307.24°)
OKLaboklab(38% 0.0548 -0.1482)
OKLCHoklch(38% 0.158 290.3)
XYZxyz(8.1657, 4.7723, 26.0768)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46288E #708E28
analogous
#283D8E #46288E #79288E
triadic
#46288E #8E4628 #288E46
tetradic
#46288E #8E283D #708E28 #288E79
square
#46288E #8E283D #708E28 #288E79
split-complementary
#46288E #8E7928 #3D8E28
monochromatic
#170D2F #2E1B5E #46288E #5E35BE #805FD2

Accessibility & contrast

On white

10.74
#46288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#46288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46288E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46288E#FFFFFF#000000##FFFFFF
##46288E1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#2E4258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46288e;
/* rgb */ color: rgb(70, 40, 142);
/* oklch */ color: oklch(38.0% 0.158 290.3);
Tailwind
colors: {
  custom: {
    50: '#8165b0',
    500: '#46288e',
    950: '#000000',
  },
}
SCSS
$custom: #46288e;
$custom-light: #8165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46288e",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 257.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.15803,
    "h": 290.3
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#46288E
secondary
#9CB75B
accent
#DF48B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #46288E

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

Preview Lab → · Contrast checker → · Palette generator →

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