#46339C#46339C

#46339C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.162 H 285.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#46339C
RGBrgb(70, 51, 156)
HSLhsl(251, 51%, 41%)
HSVhsv(251, 67%, 61%)
CMYKcmyk(55.1%, 67.3%, 0%, 38.8%)
CIE-LABlab(29.59, 37.23, -54.52)
CIE-LCHlch(29.59, 66.02, 304.33°)
OKLaboklab(40.89% 0.0419 -0.1566)
OKLCHoklch(40.89% 0.162 285)
XYZxyz(9.7086, 6.0695, 32.1060)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46339C #899C33
analogous
#33549C #46339C #7A339C
triadic
#46339C #9C4633 #339C46
tetradic
#46339C #9C3354 #899C33 #339C7A
square
#46339C #9C3354 #899C33 #339C7A
split-complementary
#46339C #9C7A33 #549C33
monochromatic
#1D1540 #31246E #46339C #5F49C3 #8777D3

Accessibility & contrast

On white

9.49
#46339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46339C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46339C#FFFFFF#000000##FFFFFF
##46339C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#214D63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #46339c;
/* rgb */ color: rgb(70, 51, 156);
/* oklch */ color: oklch(40.9% 0.162 285.0);
Tailwind
colors: {
  custom: {
    50: '#826cba',
    500: '#46339c',
    950: '#000000',
  },
}
SCSS
$custom: #46339c;
$custom-light: #826cba;
$custom-dark: #000000;
JSON
{
  "hex": "#46339c",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 250.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.16214,
    "h": 285
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#46339C
secondary
#ADBB70
accent
#DA4EC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #46339C

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

Preview Lab → · Contrast checker → · Palette generator →

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