#46259E#46259E

#46259E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.181 H 287.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#46259E
RGBrgb(70, 37, 158)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(55.7%, 76.6%, 0%, 38%)
CIE-LABlab(27.00, 45.53, -59.98)
CIE-LCHlch(27.00, 75.30, 307.20°)
OKLaboklab(39.11% 0.0536 -0.1726)
OKLCHoklch(39.11% 0.181 287.3)
XYZxyz(9.3571, 5.0934, 32.8312)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46259E #7D9E25
analogous
#25409E #46259E #82259E
triadic
#46259E #9E4625 #259E46
tetradic
#46259E #9E2540 #7D9E25 #259E82
square
#46259E #9E2540 #7D9E25 #259E82
split-complementary
#46259E #9E8225 #409E25
monochromatic
#1A0E3B #30196C #46259E #5C31CF #8463DA

Accessibility & contrast

On white

10.40
#46259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#46259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46259E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46259E#FFFFFF#000000##FFFFFF
##46259E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#204760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46259e;
/* rgb */ color: rgb(70, 37, 158);
/* oklch */ color: oklch(39.1% 0.181 287.3);
Tailwind
colors: {
  custom: {
    50: '#8464bc',
    500: '#46259e',
    950: '#000000',
  },
}
SCSS
$custom: #46259e;
$custom-light: #8464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46259e",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 256.364,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.18072,
    "h": 287.3
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#46259E
secondary
#A5C05F
accent
#E543B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46259E

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

Preview Lab → · Contrast checker → · Palette generator →

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