#46339F#46339F

#46339F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.166 H 284.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#46339F
RGBrgb(70, 51, 159)
HSLhsl(251, 51%, 41%)
HSVhsv(251, 68%, 62%)
CMYKcmyk(56%, 67.9%, 0%, 37.6%)
CIE-LABlab(29.84, 38.17, -55.92)
CIE-LCHlch(29.84, 67.71, 304.32°)
OKLaboklab(41.16% 0.0415 -0.1608)
OKLCHoklch(41.16% 0.166 284.5)
XYZxyz(9.9657, 6.1724, 33.4604)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46339F #8C9F33
analogous
#33569F #46339F #7C339F
triadic
#46339F #9F4633 #339F46
tetradic
#46339F #9F3356 #8C9F33 #339F7C
square
#46339F #9F3356 #8C9F33 #339F7C
split-complementary
#46339F #9F7C33 #569F33
monochromatic
#1D1542 #322471 #46339F #604AC5 #8979D4

Accessibility & contrast

On white

9.40
#46339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#46339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46339F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46339F#FFFFFF#000000##FFFFFF
##46339F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#1D4F64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #46339f;
/* rgb */ color: rgb(70, 51, 159);
/* oklch */ color: oklch(41.2% 0.166 284.5);
Tailwind
colors: {
  custom: {
    50: '#836cbc',
    500: '#46339f',
    950: '#000000',
  },
}
SCSS
$custom: #46339f;
$custom-light: #836cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#46339f",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 250.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.16602,
    "h": 284.5
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#46339F
secondary
#AFBC71
accent
#DB4DC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #46339F

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

Preview Lab → · Contrast checker → · Palette generator →

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