#46287D#46287D

#46287D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.137 H 295.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#46287D
RGBrgb(70, 40, 125)
HSLhsl(261, 52%, 32%)
HSVhsv(261, 68%, 49%)
CMYKcmyk(44%, 68%, 0%, 51%)
CIE-LABlab(24.64, 34.26, -43.35)
CIE-LCHlch(24.64, 55.26, 308.32°)
OKLaboklab(36.52% 0.0576 -0.1238)
OKLCHoklch(36.52% 0.137 295)
XYZxyz(6.9853, 4.3002, 19.8600)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46287D #5F7D28
analogous
#28357D #46287D #70287D
triadic
#46287D #7D4628 #287D46
tetradic
#46287D #7D2835 #5F7D28 #287D70
square
#46287D #7D2835 #5F7D28 #287D70
split-complementary
#46287D #7D7028 #357D28
monochromatic
#120A20 #2C194F #46287D #6037AB #7F56C9

Accessibility & contrast

On white

11.29
#46287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#46287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46287D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46287D#FFFFFF#000000##FFFFFF
##46287D1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#373C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46287d;
/* rgb */ color: rgb(70, 40, 125);
/* oklch */ color: oklch(36.5% 0.137 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e64a3',
    500: '#46287d',
    950: '#000000',
  },
}
SCSS
$custom: #46287d;
$custom-light: #7e64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46287d",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 261.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.13657,
    "h": 295
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#46287D
secondary
#8EAE53
accent
#DB4DA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46287D

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

Preview Lab → · Contrast checker → · Palette generator →

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