#46348B#46348B

#46348B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.138 H 287.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#46348B
RGBrgb(70, 52, 139)
HSLhsl(252, 46%, 37%)
HSVhsv(252, 63%, 55%)
CMYKcmyk(49.6%, 62.6%, 0%, 45.5%)
CIE-LABlab(28.44, 31.29, -45.95)
CIE-LCHlch(28.44, 55.59, 304.25°)
OKLaboklab(39.63% 0.0425 -0.1315)
OKLCHoklch(39.63% 0.138 287.9)
XYZxyz(8.4126, 5.6218, 25.0629)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46348B #798B34
analogous
#344D8B #46348B #72348B
triadic
#46348B #8B4634 #348B46
tetradic
#46348B #8B344D #798B34 #348B72
square
#46348B #8B344D #798B34 #348B72
split-complementary
#46348B #8B7234 #4D8B34
monochromatic
#191332 #30235E #46348B #5C45B8 #8270C9

Accessibility & contrast

On white

9.89
#46348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#46348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46348B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46348B#FFFFFF#000000##FFFFFF
##46348B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#2F485A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46348b;
/* rgb */ color: rgb(70, 52, 139);
/* oklch */ color: oklch(39.6% 0.138 287.9);
Tailwind
colors: {
  custom: {
    50: '#7f6cae',
    500: '#46348b',
    950: '#000000',
  },
}
SCSS
$custom: #46348b;
$custom-light: #7f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#46348b",
  "rgb": {
    "r": 70,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 252.414,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.13816,
    "h": 287.9
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#46348B
secondary
#A3B269
accent
#D553BA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #46348B

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

Preview Lab → · Contrast checker → · Palette generator →

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