#46339A#46339A

#46339A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.160 H 285.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#46339A
RGBrgb(70, 51, 154)
HSLhsl(251, 50%, 40%)
HSVhsv(251, 67%, 60%)
CMYKcmyk(54.5%, 66.9%, 0%, 39.6%)
CIE-LABlab(29.42, 36.60, -53.58)
CIE-LCHlch(29.42, 64.89, 304.34°)
OKLaboklab(40.72% 0.0421 -0.1539)
OKLCHoklch(40.72% 0.16 285.3)
XYZxyz(9.5406, 6.0023, 31.2214)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46339A #879A33
analogous
#33539A #46339A #79339A
triadic
#46339A #9A4633 #339A46
tetradic
#46339A #9A3353 #879A33 #339A79
square
#46339A #9A3353 #879A33 #339A79
split-complementary
#46339A #9A7933 #539A33
monochromatic
#1C153E #31246C #46339A #5E48C2 #8776D2

Accessibility & contrast

On white

9.54
#46339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#46339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46339A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46339A#FFFFFF#000000##FFFFFF
##46339A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#234D62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46339a;
/* rgb */ color: rgb(70, 51, 154);
/* oklch */ color: oklch(40.7% 0.160 285.3);
Tailwind
colors: {
  custom: {
    50: '#826cb9',
    500: '#46339a',
    950: '#000000',
  },
}
SCSS
$custom: #46339a;
$custom-light: #826cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#46339a",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 251.068,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40718,
    "c": 0.15954,
    "h": 285.3
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#46339A
secondary
#ACBA6F
accent
#DA4EC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #46339A

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

Preview Lab → · Contrast checker → · Palette generator →

#46339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva