#46298E#46298E

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

Color values

HEX#46298E
RGBrgb(70, 41, 142)
HSLhsl(257, 55%, 36%)
HSVhsv(257, 71%, 56%)
CMYKcmyk(50.7%, 71.1%, 0%, 44.3%)
CIE-LABlab(26.28, 38.71, -51.33)
CIE-LCHlch(26.28, 64.29, 307.02°)
OKLaboklab(38.14% 0.0539 -0.1473)
OKLCHoklch(38.14% 0.157 290.1)
XYZxyz(8.1998, 4.8406, 26.0882)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46298E #718E29
analogous
#293E8E #46298E #78298E
triadic
#46298E #8E4629 #298E46
tetradic
#46298E #8E293E #718E29 #298E78
square
#46298E #8E293E #718E29 #298E78
split-complementary
#46298E #8E7829 #3E8E29
monochromatic
#170E2F #2F1B5F #46298E #5D37BD #8160D1

Accessibility & contrast

On white

10.67
#46298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#46298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46298E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46298E#FFFFFF#000000##FFFFFF
##46298E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#2E4358
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46298e;
/* rgb */ color: rgb(70, 41, 142);
/* oklch */ color: oklch(38.1% 0.157 290.1);
Tailwind
colors: {
  custom: {
    50: '#8165b0',
    500: '#46298e',
    950: '#000000',
  },
}
SCSS
$custom: #46298e;
$custom-light: #8165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46298e",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 257.228,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.1568,
    "h": 290.1
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#46298E
secondary
#9DB75C
accent
#DF49B4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #46298E

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

Preview Lab → · Contrast checker → · Palette generator →

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