#46289B#46289B

#46289B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.174 H 287.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#46289B
RGBrgb(70, 40, 155)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(54.8%, 74.2%, 0%, 39.2%)
CIE-LABlab(27.26, 43.11, -57.72)
CIE-LCHlch(27.26, 72.04, 306.75°)
OKLaboklab(39.2% 0.052 -0.166)
OKLCHoklch(39.2% 0.174 287.4)
XYZxyz(9.1992, 5.1858, 31.5202)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46289B #7D9B28
analogous
#28439B #46289B #7F289B
triadic
#46289B #9B4628 #289B46
tetradic
#46289B #9B2843 #7D9B28 #289B7F
square
#46289B #9B2843 #7D9B28 #289B7F
split-complementary
#46289B #9B7F28 #439B28
monochromatic
#1A0F3A #301B6A #46289B #5C35CB #8466D7

Accessibility & contrast

On white

10.31
#46289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#46289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46289B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46289B#FFFFFF#000000##FFFFFF
##46289B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#23475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46289b;
/* rgb */ color: rgb(70, 40, 155);
/* oklch */ color: oklch(39.2% 0.174 287.4);
Tailwind
colors: {
  custom: {
    50: '#8365ba',
    500: '#46289b',
    950: '#000000',
  },
}
SCSS
$custom: #46289b;
$custom-light: #8365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46289b",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 255.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.392,
    "c": 0.17395,
    "h": 287.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#46289B
secondary
#A5BD61
accent
#E246B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46289B

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

Preview Lab → · Contrast checker → · Palette generator →

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