#46299F#46299F

#46299F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.178 H 286.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#46299F
RGBrgb(70, 41, 159)
HSLhsl(255, 59%, 39%)
HSVhsv(255, 74%, 62%)
CMYKcmyk(56%, 74.2%, 0%, 37.6%)
CIE-LABlab(27.82, 43.77, -59.24)
CIE-LCHlch(27.82, 73.65, 306.46°)
OKLaboklab(39.71% 0.0502 -0.1704)
OKLCHoklch(39.71% 0.178 286.4)
XYZxyz(9.5749, 5.3906, 33.3301)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46299F #829F29
analogous
#29479F #46299F #81299F
triadic
#46299F #9F4629 #299F46
tetradic
#46299F #9F2947 #829F29 #299F81
square
#46299F #9F2947 #829F29 #299F81
split-complementary
#46299F #9F8129 #479F29
monochromatic
#1B103E #311C6E #46299F #5D39CC #856AD9

Accessibility & contrast

On white

10.10
#46299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#46299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46299F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46299F#FFFFFF#000000##FFFFFF
##46299F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#1E4962
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #46299f;
/* rgb */ color: rgb(70, 41, 159);
/* oklch */ color: oklch(39.7% 0.178 286.4);
Tailwind
colors: {
  custom: {
    50: '#8366bc',
    500: '#46299f',
    950: '#000000',
  },
}
SCSS
$custom: #46299f;
$custom-light: #8366bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46299f",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 254.746,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.17769,
    "h": 286.4
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#46299F
secondary
#A9BF65
accent
#E246BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46299F

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

Preview Lab → · Contrast checker → · Palette generator →

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