#46249F#46249F

#46249F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.183 H 287.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#46249F
RGBrgb(70, 36, 159)
HSLhsl(257, 63%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(56%, 77.4%, 0%, 37.6%)
CIE-LABlab(26.92, 46.31, -60.71)
CIE-LCHlch(26.92, 76.36, 307.34°)
OKLaboklab(39.08% 0.0541 -0.1747)
OKLCHoklch(39.08% 0.183 287.2)
XYZxyz(9.4128, 5.0665, 33.2761)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46249F #7D9F24
analogous
#24409F #46249F #83249F
triadic
#46249F #9F4624 #249F46
tetradic
#46249F #9F2440 #7D9F24 #249F83
square
#46249F #9F2440 #7D9F24 #249F83
split-complementary
#46249F #9F8324 #409F24
monochromatic
#1A0D3B #30196D #46249F #5C30D0 #8462DB

Accessibility & contrast

On white

10.43
#46249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#46249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46249F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46249F#FFFFFF#000000##FFFFFF
##46249F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1F4760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46249f;
/* rgb */ color: rgb(70, 36, 159);
/* oklch */ color: oklch(39.1% 0.183 287.2);
Tailwind
colors: {
  custom: {
    50: '#8463bc',
    500: '#46249f',
    950: '#000000',
  },
}
SCSS
$custom: #46249f;
$custom-light: #8463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46249f",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 256.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.1829,
    "h": 287.2
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#46249F
secondary
#A5C15E
accent
#E642B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46249F

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

Preview Lab → · Contrast checker → · Palette generator →

#46249F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva