#46337E#46337E

#46337E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.4% C 0.122 H 291.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#46337E
RGBrgb(70, 51, 126)
HSLhsl(255, 42%, 35%)
HSVhsv(255, 60%, 49%)
CMYKcmyk(44.4%, 59.5%, 0%, 50.6%)
CIE-LABlab(27.23, 27.88, -39.79)
CIE-LCHlch(27.23, 48.59, 305.01°)
OKLaboklab(38.43% 0.0441 -0.1133)
OKLCHoklch(38.43% 0.122 291.3)
XYZxyz(7.4745, 5.1759, 20.3398)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46337E #6B7E33
analogous
#33467E #46337E #6C337E
triadic
#46337E #7E4633 #337E46
tetradic
#46337E #7E3346 #6B7E33 #337E6C
square
#46337E #7E3346 #6B7E33 #337E6C
split-complementary
#46337E #7E6C33 #467E33
monochromatic
#161027 #2E2152 #46337E #5E45AA #8069C2

Accessibility & contrast

On white

10.32
#46337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#46337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46337E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46337E#FFFFFF#000000##FFFFFF
##46337E1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054280
Deuteranopia (green-blind)
#0B3F7C
Tritanopia (blue-blind)
#364353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46337e;
/* rgb */ color: rgb(70, 51, 126);
/* oklch */ color: oklch(38.4% 0.122 291.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ba4',
    500: '#46337e',
    950: '#000000',
  },
}
SCSS
$custom: #46337e;
$custom-light: #7e6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#46337e",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 255.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38433,
    "c": 0.12164,
    "h": 291.3
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#46337E
secondary
#98AA63
accent
#D256B3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46337E

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

Preview Lab → · Contrast checker → · Palette generator →

#46337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva