#46339B#46339B

#46339B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.161 H 285.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#46339B
RGBrgb(70, 51, 155)
HSLhsl(251, 50%, 40%)
HSVhsv(251, 67%, 61%)
CMYKcmyk(54.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(29.50, 36.92, -54.05)
CIE-LCHlch(29.50, 65.45, 304.33°)
OKLaboklab(40.81% 0.042 -0.1553)
OKLCHoklch(40.81% 0.161 285.1)
XYZxyz(9.6242, 6.0358, 31.6619)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46339B #889B33
analogous
#33549B #46339B #7A339B
triadic
#46339B #9B4633 #339B46
tetradic
#46339B #9B3354 #889B33 #339B7A
square
#46339B #9B3354 #889B33 #339B7A
split-complementary
#46339B #9B7A33 #549B33
monochromatic
#1C153F #31246D #46339B #5F48C3 #8776D2

Accessibility & contrast

On white

9.51
#46339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#46339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46339B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46339B#FFFFFF#000000##FFFFFF
##46339B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#224D62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46339b;
/* rgb */ color: rgb(70, 51, 155);
/* oklch */ color: oklch(40.8% 0.161 285.1);
Tailwind
colors: {
  custom: {
    50: '#826cb9',
    500: '#46339b',
    950: '#000000',
  },
}
SCSS
$custom: #46339b;
$custom-light: #826cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#46339b",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 250.962,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.16084,
    "h": 285.1
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#46339B
secondary
#ADBA6F
accent
#DA4EC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #46339B

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

Preview Lab → · Contrast checker → · Palette generator →

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