#46347F#46347F

#46347F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.7% C 0.122 H 290.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#46347F
RGBrgb(70, 52, 127)
HSLhsl(254, 42%, 35%)
HSVhsv(254, 59%, 50%)
CMYKcmyk(44.9%, 59.1%, 0%, 50.2%)
CIE-LABlab(27.55, 27.55, -39.91)
CIE-LCHlch(27.55, 48.50, 304.62°)
OKLaboklab(38.69% 0.0429 -0.1137)
OKLCHoklch(38.69% 0.122 290.6)
XYZxyz(7.5835, 5.2901, 20.6961)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46347F #6D7F34
analogous
#34487F #46347F #6B347F
triadic
#46347F #7F4634 #347F46
tetradic
#46347F #7F3448 #6D7F34 #347F6B
square
#46347F #7F3448 #6D7F34 #347F6B
split-complementary
#46347F #7F6B34 #487F34
monochromatic
#161028 #2E2254 #46347F #5E46AA #806BC2

Accessibility & contrast

On white

10.20
#46347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#46347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46347F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46347F#FFFFFF#000000##FFFFFF
##46347F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074282
Deuteranopia (green-blind)
#0C3F7D
Tritanopia (blue-blind)
#364454
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46347f;
/* rgb */ color: rgb(70, 52, 127);
/* oklch */ color: oklch(38.7% 0.122 290.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ca5',
    500: '#46347f',
    950: '#000000',
  },
}
SCSS
$custom: #46347f;
$custom-light: #7e6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#46347f",
  "rgb": {
    "r": 70,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 254.4,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.12151,
    "h": 290.6
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#46347F
secondary
#9AAA64
accent
#D256B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46347F

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

Preview Lab → · Contrast checker → · Palette generator →

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