#46239E#46239E

#46239E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.183 H 287.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#46239E
RGBrgb(70, 35, 158)
HSLhsl(257, 64%, 38%)
HSVhsv(257, 78%, 62%)
CMYKcmyk(55.7%, 77.8%, 0%, 38%)
CIE-LABlab(26.66, 46.51, -60.54)
CIE-LCHlch(26.66, 76.35, 307.53°)
OKLaboklab(38.86% 0.0551 -0.1742)
OKLCHoklch(38.86% 0.183 287.6)
XYZxyz(9.2965, 4.9723, 32.8110)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46239E #7B9E23
analogous
#233D9E #46239E #83239E
triadic
#46239E #9E4623 #239E46
tetradic
#46239E #9E233D #7B9E23 #239E83
square
#46239E #9E233D #7B9E23 #239E83
split-complementary
#46239E #9E8323 #3D9E23
monochromatic
#1A0D3A #30186C #46239E #5C2ED0 #8360DC

Accessibility & contrast

On white

10.53
#46239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#46239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46239E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46239E#FFFFFF#000000##FFFFFF
##46239E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#204660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46239e;
/* rgb */ color: rgb(70, 35, 158);
/* oklch */ color: oklch(38.9% 0.183 287.6);
Tailwind
colors: {
  custom: {
    50: '#8462bc',
    500: '#46239e',
    950: '#000000',
  },
}
SCSS
$custom: #46239e;
$custom-light: #8462bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46239e",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 257.073,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38864,
    "c": 0.18273,
    "h": 287.6
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#46239E
secondary
#A4C15C
accent
#E741B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46239E

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

Preview Lab → · Contrast checker → · Palette generator →

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