#46259F#46259F

#46259F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.182 H 287.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#46259F
RGBrgb(70, 37, 159)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56%, 76.7%, 0%, 37.6%)
CIE-LABlab(27.10, 45.82, -60.43)
CIE-LCHlch(27.10, 75.84, 307.17°)
OKLaboklab(39.2% 0.0534 -0.1739)
OKLCHoklch(39.2% 0.182 287.1)
XYZxyz(9.4435, 5.1279, 33.2863)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46259F #7E9F25
analogous
#25419F #46259F #83259F
triadic
#46259F #9F4625 #259F46
tetradic
#46259F #9F2541 #7E9F25 #259F83
square
#46259F #9F2541 #7E9F25 #259F83
split-complementary
#46259F #9F8325 #419F25
monochromatic
#1A0E3C #30196D #46259F #5C32CF #8464DB

Accessibility & contrast

On white

10.37
#46259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#46259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46259F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46259F#FFFFFF#000000##FFFFFF
##46259F1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#1F4761
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46259f;
/* rgb */ color: rgb(70, 37, 159);
/* oklch */ color: oklch(39.2% 0.182 287.1);
Tailwind
colors: {
  custom: {
    50: '#8464bc',
    500: '#46259f',
    950: '#000000',
  },
}
SCSS
$custom: #46259f;
$custom-light: #8464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46259f",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 256.23,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39203,
    "c": 0.1819,
    "h": 287.1
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#46259F
secondary
#A6C05F
accent
#E542B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46259F

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

Preview Lab → · Contrast checker → · Palette generator →

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