#46239F#46239F

#46239F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 287.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#46239F
RGBrgb(70, 35, 159)
HSLhsl(257, 64%, 38%)
HSVhsv(257, 78%, 62%)
CMYKcmyk(56%, 78%, 0%, 37.6%)
CIE-LABlab(26.75, 46.80, -60.99)
CIE-LCHlch(26.75, 76.87, 307.50°)
OKLaboklab(38.96% 0.0548 -0.1755)
OKLCHoklch(38.96% 0.184 287.3)
XYZxyz(9.3830, 5.0069, 33.2662)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46239F #7C9F23
analogous
#233E9F #46239F #84239F
triadic
#46239F #9F4623 #239F46
tetradic
#46239F #9F233E #7C9F23 #239F84
square
#46239F #9F233E #7C9F23 #239F84
split-complementary
#46239F #9F8423 #3E9F23
monochromatic
#1A0D3B #30186D #46239F #5C2ED1 #8360DC

Accessibility & contrast

On white

10.49
#46239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#46239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46239F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46239F#FFFFFF#000000##FFFFFF
##46239F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1F4660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46239f;
/* rgb */ color: rgb(70, 35, 159);
/* oklch */ color: oklch(39.0% 0.184 287.3);
Tailwind
colors: {
  custom: {
    50: '#8462bd',
    500: '#46239f',
    950: '#000000',
  },
}
SCSS
$custom: #46239f;
$custom-light: #8462bd;
$custom-dark: #000000;
JSON
{
  "hex": "#46239f",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 256.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.18388,
    "h": 287.3
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#46239F
secondary
#A5C15D
accent
#E741B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46239F

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

Preview Lab → · Contrast checker → · Palette generator →

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