#46348F#46348F

#46348F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.144 H 287.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#46348F
RGBrgb(70, 52, 143)
HSLhsl(252, 47%, 38%)
HSVhsv(252, 64%, 56%)
CMYKcmyk(51%, 63.6%, 0%, 43.9%)
CIE-LABlab(28.75, 32.54, -47.92)
CIE-LCHlch(28.75, 57.93, 304.18°)
OKLaboklab(39.95% 0.0422 -0.1372)
OKLCHoklch(39.95% 0.144 287.1)
XYZxyz(8.7103, 5.7408, 26.6304)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46348F #7D8F34
analogous
#344F8F #46348F #73348F
triadic
#46348F #8F4634 #348F46
tetradic
#46348F #8F344F #7D8F34 #348F73
square
#46348F #8F344F #7D8F34 #348F73
split-complementary
#46348F #8F7334 #4F8F34
monochromatic
#1A1335 #302462 #46348F #5C45BB #8472CC

Accessibility & contrast

On white

9.78
#46348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#46348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46348F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46348F#FFFFFF#000000##FFFFFF
##46348F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#2C4A5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #46348f;
/* rgb */ color: rgb(70, 52, 143);
/* oklch */ color: oklch(40.0% 0.144 287.1);
Tailwind
colors: {
  custom: {
    50: '#806cb0',
    500: '#46348f',
    950: '#000000',
  },
}
SCSS
$custom: #46348f;
$custom-light: #806cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#46348f",
  "rgb": {
    "r": 70,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 251.868,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.1436,
    "h": 287.1
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#46348F
secondary
#A5B46B
accent
#D651BC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #46348F

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

Preview Lab → · Contrast checker → · Palette generator →

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