#46288B#46288B

#46288B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.154 H 291.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#46288B
RGBrgb(70, 40, 139)
HSLhsl(258, 55%, 35%)
HSVhsv(258, 71%, 55%)
CMYKcmyk(49.6%, 71.2%, 0%, 45.5%)
CIE-LABlab(25.81, 38.38, -50.22)
CIE-LCHlch(25.81, 63.21, 307.38°)
OKLaboklab(37.73% 0.0554 -0.144)
OKLCHoklch(37.73% 0.154 291)
XYZxyz(7.9435, 4.6835, 24.9065)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46288B #6D8B28
analogous
#283B8B #46288B #78288B
triadic
#46288B #8B4628 #288B46
tetradic
#46288B #8B283B #6D8B28 #288B78
square
#46288B #8B283B #6D8B28 #288B78
split-complementary
#46288B #8B7828 #3B8B28
monochromatic
#160D2C #2E1A5B #46288B #5E36BB #805DD0

Accessibility & contrast

On white

10.84
#46288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#46288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46288B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46288B#FFFFFF#000000##FFFFFF
##46288B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46288b;
/* rgb */ color: rgb(70, 40, 139);
/* oklch */ color: oklch(37.7% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#8064ae',
    500: '#46288b',
    950: '#000000',
  },
}
SCSS
$custom: #46288b;
$custom-light: #8064ae;
$custom-dark: #000000;
JSON
{
  "hex": "#46288b",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 258.182,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.15429,
    "h": 291
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#46288B
secondary
#9AB659
accent
#DF49B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #46288B

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

Preview Lab → · Contrast checker → · Palette generator →

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