#46247E#46247E

#46247E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.143 H 295.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#46247E
RGBrgb(70, 36, 126)
HSLhsl(263, 56%, 32%)
HSVhsv(263, 71%, 49%)
CMYKcmyk(44.4%, 71.4%, 0%, 50.6%)
CIE-LABlab(23.90, 36.81, -45.19)
CIE-LCHlch(23.90, 58.28, 309.17°)
OKLaboklab(36.02% 0.062 -0.1292)
OKLCHoklch(36.02% 0.143 295.6)
XYZxyz(6.9216, 4.0700, 20.1555)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46247E #5C7E24
analogous
#242F7E #46247E #73247E
triadic
#46247E #7E4624 #247E46
tetradic
#46247E #7E242F #5C7E24 #247E73
square
#46247E #7E242F #5C7E24 #247E73
split-complementary
#46247E #7E7324 #2F7E24
monochromatic
#11091F #2C164E #46247E #6032AE #7F50CD

Accessibility & contrast

On white

11.58
#46247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#46247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46247E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46247E#FFFFFF#000000##FFFFFF
##46247E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#373A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46247e;
/* rgb */ color: rgb(70, 36, 126);
/* oklch */ color: oklch(36.0% 0.143 295.6);
Tailwind
colors: {
  custom: {
    50: '#7f61a4',
    500: '#46247e',
    950: '#000000',
  },
}
SCSS
$custom: #46247e;
$custom-light: #7f61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46247e",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 262.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.14328,
    "h": 295.6
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#46247E
secondary
#8BB04E
accent
#DF49A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46247E

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

Preview Lab → · Contrast checker → · Palette generator →

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