#46288A#46288A

#46288A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.153 H 291.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#46288A
RGBrgb(70, 40, 138)
HSLhsl(258, 55%, 35%)
HSVhsv(258, 71%, 54%)
CMYKcmyk(49.3%, 71%, 0%, 45.9%)
CIE-LABlab(25.73, 38.08, -49.74)
CIE-LCHlch(25.73, 62.65, 307.44°)
OKLaboklab(37.64% 0.0556 -0.1426)
OKLCHoklch(37.64% 0.153 291.3)
XYZxyz(7.8707, 4.6544, 24.5235)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46288A #6C8A28
analogous
#283B8A #46288A #77288A
triadic
#46288A #8A4628 #288A46
tetradic
#46288A #8A283B #6C8A28 #288A77
square
#46288A #8A283B #6C8A28 #288A77
split-complementary
#46288A #8A7728 #3B8A28
monochromatic
#160C2B #2E1A5B #46288A #5E36B9 #805DD0

Accessibility & contrast

On white

10.88
#46288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#46288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46288A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46288A#FFFFFF#000000##FFFFFF
##46288A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#304156
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46288a;
/* rgb */ color: rgb(70, 40, 138);
/* oklch */ color: oklch(37.6% 0.153 291.3);
Tailwind
colors: {
  custom: {
    50: '#8064ad',
    500: '#46288a',
    950: '#000000',
  },
}
SCSS
$custom: #46288a;
$custom-light: #8064ad;
$custom-dark: #000000;
JSON
{
  "hex": "#46288a",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 258.367,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.15305,
    "h": 291.3
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#46288A
secondary
#99B559
accent
#DE49B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #46288A

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

Preview Lab → · Contrast checker → · Palette generator →

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