#46247A#46247A

#46247A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.138 H 296.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#46247A
RGBrgb(70, 36, 122)
HSLhsl(264, 54%, 31%)
HSVhsv(264, 70%, 48%)
CMYKcmyk(42.6%, 70.5%, 0%, 52.2%)
CIE-LABlab(23.57, 35.67, -43.19)
CIE-LCHlch(23.57, 56.02, 309.55°)
OKLaboklab(35.68% 0.0626 -0.1233)
OKLCHoklch(35.68% 0.138 296.9)
XYZxyz(6.6686, 3.9689, 18.8233)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46247A #587A24
analogous
#242D7A #46247A #71247A
triadic
#46247A #7A4624 #247A46
tetradic
#46247A #7A242D #587A24 #247A71
square
#46247A #7A242D #587A24 #247A71
split-complementary
#46247A #7A7124 #2D7A24
monochromatic
#10081B #2B164B #46247A #6132A9 #7F4ECB

Accessibility & contrast

On white

11.71
#46247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#46247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46247A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46247A#FFFFFF#000000##FFFFFF
##46247A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#39394C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46247a;
/* rgb */ color: rgb(70, 36, 122);
/* oklch */ color: oklch(35.7% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#7e61a1',
    500: '#46247a',
    950: '#000000',
  },
}
SCSS
$custom: #46247a;
$custom-light: #7e61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46247a",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 263.721,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35675,
    "c": 0.13832,
    "h": 296.9
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#46247A
secondary
#87AC4D
accent
#DE4AA3
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46247A

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

Preview Lab → · Contrast checker → · Palette generator →

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