#46299E#46299E

#46299E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.176 H 286.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#46299E
RGBrgb(70, 41, 158)
HSLhsl(255, 59%, 39%)
HSVhsv(255, 74%, 62%)
CMYKcmyk(55.7%, 74.1%, 0%, 38%)
CIE-LABlab(27.73, 43.47, -58.78)
CIE-LCHlch(27.73, 73.11, 306.48°)
OKLaboklab(39.62% 0.0505 -0.1691)
OKLCHoklch(39.62% 0.176 286.6)
XYZxyz(9.4884, 5.3561, 32.8750)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46299E #819E29
analogous
#29479E #46299E #81299E
triadic
#46299E #9E4629 #299E46
tetradic
#46299E #9E2947 #819E29 #299E81
square
#46299E #9E2947 #819E29 #299E81
split-complementary
#46299E #9E8129 #479E29
monochromatic
#1B103D #301C6D #46299E #5D39CC #8569D8

Accessibility & contrast

On white

10.14
#46299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#46299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46299E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46299E#FFFFFF#000000##FFFFFF
##46299E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#1F4961
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46299e;
/* rgb */ color: rgb(70, 41, 158);
/* oklch */ color: oklch(39.6% 0.176 286.6);
Tailwind
colors: {
  custom: {
    50: '#8366bc',
    500: '#46299e',
    950: '#000000',
  },
}
SCSS
$custom: #46299e;
$custom-light: #8366bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46299e",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 254.872,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.17647,
    "h": 286.6
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#46299E
secondary
#A8BF64
accent
#E246BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46299E

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

Preview Lab → · Contrast checker → · Palette generator →

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