#46239C#46239C

#46239C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.180 H 288.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#46239C
RGBrgb(70, 35, 156)
HSLhsl(257, 63%, 37%)
HSVhsv(257, 78%, 61%)
CMYKcmyk(55.1%, 77.6%, 0%, 38.8%)
CIE-LABlab(26.46, 45.94, -59.64)
CIE-LCHlch(26.46, 75.28, 307.60°)
OKLaboklab(38.67% 0.0557 -0.1716)
OKLCHoklch(38.67% 0.18 288)
XYZxyz(9.1258, 4.9040, 31.9117)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46239C #799C23
analogous
#233D9C #46239C #82239C
triadic
#46239C #9C4623 #239C46
tetradic
#46239C #9C233D #799C23 #239C82
square
#46239C #9C233D #799C23 #239C82
split-complementary
#46239C #9C8223 #3D9C23
monochromatic
#190D38 #30186A #46239C #5C2ECE #825EDB

Accessibility & contrast

On white

10.60
#46239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#46239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46239C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46239C#FFFFFF#000000##FFFFFF
##46239C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#22455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46239c;
/* rgb */ color: rgb(70, 35, 156);
/* oklch */ color: oklch(38.7% 0.180 288.0);
Tailwind
colors: {
  custom: {
    50: '#8362ba',
    500: '#46239c',
    950: '#000000',
  },
}
SCSS
$custom: #46239c;
$custom-light: #8362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46239c",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 257.355,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.1804,
    "h": 288
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#46239C
secondary
#A3C05B
accent
#E641B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46239C

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

Preview Lab → · Contrast checker → · Palette generator →

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