#46239A#46239A

#46239A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.178 H 288.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#46239A
RGBrgb(70, 35, 154)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 60%)
CMYKcmyk(54.5%, 77.3%, 0%, 39.6%)
CIE-LABlab(26.26, 45.36, -58.74)
CIE-LCHlch(26.26, 74.22, 307.68°)
OKLaboklab(38.47% 0.0563 -0.1689)
OKLCHoklch(38.47% 0.178 288.4)
XYZxyz(8.9578, 4.8368, 31.0272)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46239A #779A23
analogous
#233C9A #46239A #82239A
triadic
#46239A #9A4623 #239A46
tetradic
#46239A #9A233C #779A23 #239A82
square
#46239A #9A233C #779A23 #239A82
split-complementary
#46239A #9A8223 #3C9A23
monochromatic
#190C36 #2F1868 #46239A #5D2ECC #825DDA

Accessibility & contrast

On white

10.67
#46239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#46239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46239A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46239A#FFFFFF#000000##FFFFFF
##46239A1.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)
#00419D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#24445D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46239a;
/* rgb */ color: rgb(70, 35, 154);
/* oklch */ color: oklch(38.5% 0.178 288.4);
Tailwind
colors: {
  custom: {
    50: '#8362b9',
    500: '#46239a',
    950: '#000000',
  },
}
SCSS
$custom: #46239a;
$custom-light: #8362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#46239a",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 257.647,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.17806,
    "h": 288.4
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#46239A
secondary
#A1BF5A
accent
#E642B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46239A

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

Preview Lab → · Contrast checker → · Palette generator →

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