#46239B#46239B

#46239B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.179 H 288.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#46239B
RGBrgb(70, 35, 155)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 61%)
CMYKcmyk(54.8%, 77.4%, 0%, 39.2%)
CIE-LABlab(26.36, 45.65, -59.19)
CIE-LCHlch(26.36, 74.75, 307.64°)
OKLaboklab(38.57% 0.056 -0.1703)
OKLCHoklch(38.57% 0.179 288.2)
XYZxyz(9.0415, 4.8703, 31.4676)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46239B #789B23
analogous
#233C9B #46239B #82239B
triadic
#46239B #9B4623 #239B46
tetradic
#46239B #9B233C #789B23 #239B82
square
#46239B #9B233C #789B23 #239B82
split-complementary
#46239B #9B8223 #3C9B23
monochromatic
#190C37 #2F1869 #46239B #5D2ECD #825EDB

Accessibility & contrast

On white

10.64
#46239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46239B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46239B#FFFFFF#000000##FFFFFF
##46239B1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#23455E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46239b;
/* rgb */ color: rgb(70, 35, 155);
/* oklch */ color: oklch(38.6% 0.179 288.2);
Tailwind
colors: {
  custom: {
    50: '#8362ba',
    500: '#46239b',
    950: '#000000',
  },
}
SCSS
$custom: #46239b;
$custom-light: #8362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46239b",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 257.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3857,
    "c": 0.17924,
    "h": 288.2
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #46239B

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

Preview Lab → · Contrast checker → · Palette generator →

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