#46288D#46288D

#46288D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.157 H 290.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#46288D
RGBrgb(70, 40, 141)
HSLhsl(258, 56%, 35%)
HSVhsv(258, 72%, 55%)
CMYKcmyk(50.4%, 71.6%, 0%, 44.7%)
CIE-LABlab(25.99, 38.97, -51.18)
CIE-LCHlch(25.99, 64.33, 307.28°)
OKLaboklab(37.91% 0.055 -0.1468)
OKLCHoklch(37.91% 0.157 290.5)
XYZxyz(8.0909, 4.7424, 25.6832)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46288D #6F8D28
analogous
#283C8D #46288D #78288D
triadic
#46288D #8D4628 #288D46
tetradic
#46288D #8D283C #6F8D28 #288D78
square
#46288D #8D283C #6F8D28 #288D78
split-complementary
#46288D #8D7828 #3C8D28
monochromatic
#170D2E #2E1A5D #46288D #5E36BD #805ED1

Accessibility & contrast

On white

10.78
#46288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46288D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46288D#FFFFFF#000000##FFFFFF
##46288D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#2E4257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46288d;
/* rgb */ color: rgb(70, 40, 141);
/* oklch */ color: oklch(37.9% 0.157 290.5);
Tailwind
colors: {
  custom: {
    50: '#8164af',
    500: '#46288d',
    950: '#000000',
  },
}
SCSS
$custom: #46288d;
$custom-light: #8164af;
$custom-dark: #000000;
JSON
{
  "hex": "#46288d",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 257.822,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.15678,
    "h": 290.5
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#46288D
secondary
#9BB75A
accent
#DF49B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #46288D

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

Preview Lab → · Contrast checker → · Palette generator →

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