#46288F#46288F

#46288F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.159 H 290.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#46288F
RGBrgb(70, 40, 143)
HSLhsl(257, 56%, 36%)
HSVhsv(257, 72%, 56%)
CMYKcmyk(51%, 72%, 0%, 43.9%)
CIE-LABlab(26.16, 39.56, -52.13)
CIE-LCHlch(26.16, 65.44, 307.19°)
OKLaboklab(38.09% 0.0546 -0.1496)
OKLCHoklch(38.09% 0.159 290.1)
XYZxyz(8.2411, 4.8025, 26.4740)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46288F #718F28
analogous
#283D8F #46288F #79288F
triadic
#46288F #8F4628 #288F46
tetradic
#46288F #8F283D #718F28 #288F79
square
#46288F #8F283D #718F28 #288F79
split-complementary
#46288F #8F7928 #3D8F28
monochromatic
#170D2F #2F1B5F #46288F #5D35BF #815FD2

Accessibility & contrast

On white

10.71
#46288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#46288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46288F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46288F#FFFFFF#000000##FFFFFF
##46288F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#2D4358
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46288f;
/* rgb */ color: rgb(70, 40, 143);
/* oklch */ color: oklch(38.1% 0.159 290.1);
Tailwind
colors: {
  custom: {
    50: '#8165b1',
    500: '#46288f',
    950: '#000000',
  },
}
SCSS
$custom: #46288f;
$custom-light: #8165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46288f",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 257.476,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38089,
    "c": 0.15928,
    "h": 290.1
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#46288F
secondary
#9DB85B
accent
#E048B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #46288F

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

Preview Lab → · Contrast checker → · Palette generator →

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