#46287A#46287A

#46287A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.133 H 295.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#46287A
RGBrgb(70, 40, 122)
HSLhsl(262, 51%, 32%)
HSVhsv(262, 67%, 48%)
CMYKcmyk(42.6%, 67.2%, 0%, 52.2%)
CIE-LABlab(24.40, 33.39, -41.84)
CIE-LCHlch(24.40, 53.53, 308.59°)
OKLaboklab(36.27% 0.058 -0.1194)
OKLCHoklch(36.27% 0.133 295.9)
XYZxyz(6.7965, 4.2247, 18.8659)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46287A #5C7A28
analogous
#28337A #46287A #6F287A
triadic
#46287A #7A4628 #287A46
tetradic
#46287A #7A2833 #5C7A28 #287A6F
square
#46287A #7A2833 #5C7A28 #287A6F
split-complementary
#46287A #7A6F28 #337A28
monochromatic
#110A1E #2C194C #46287A #6037A8 #7F55C7

Accessibility & contrast

On white

11.38
#46287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#46287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46287A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46287A#FFFFFF#000000##FFFFFF
##46287A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#393B4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46287a;
/* rgb */ color: rgb(70, 40, 122);
/* oklch */ color: oklch(36.3% 0.133 295.9);
Tailwind
colors: {
  custom: {
    50: '#7e64a1',
    500: '#46287a',
    950: '#000000',
  },
}
SCSS
$custom: #46287a;
$custom-light: #7e64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46287a",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 261.951,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36274,
    "c": 0.13271,
    "h": 295.9
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#46287A
secondary
#8BAC52
accent
#DA4EA7
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46287A

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

Preview Lab → · Contrast checker → · Palette generator →

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