#46348C#46348C

#46348C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.7% C 0.140 H 287.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#46348C
RGBrgb(70, 52, 140)
HSLhsl(252, 46%, 38%)
HSVhsv(252, 63%, 55%)
CMYKcmyk(50%, 62.9%, 0%, 45.1%)
CIE-LABlab(28.51, 31.60, -46.45)
CIE-LCHlch(28.51, 56.18, 304.23°)
OKLaboklab(39.71% 0.0424 -0.1329)
OKLCHoklch(39.71% 0.14 287.7)
XYZxyz(8.4860, 5.6512, 25.4495)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46348C #7A8C34
analogous
#344E8C #46348C #72348C
triadic
#46348C #8C4634 #348C46
tetradic
#46348C #8C344E #7A8C34 #348C72
square
#46348C #8C344E #7A8C34 #348C72
split-complementary
#46348C #8C7234 #4E8C34
monochromatic
#191333 #30235F #46348C #5C45B9 #8370CA

Accessibility & contrast

On white

9.86
#46348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#46348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46348C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46348C#FFFFFF#000000##FFFFFF
##46348C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#2E495B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46348c;
/* rgb */ color: rgb(70, 52, 140);
/* oklch */ color: oklch(39.7% 0.140 287.7);
Tailwind
colors: {
  custom: {
    50: '#806cae',
    500: '#46348c',
    950: '#000000',
  },
}
SCSS
$custom: #46348c;
$custom-light: #806cae;
$custom-dark: #000000;
JSON
{
  "hex": "#46348c",
  "rgb": {
    "r": 70,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 252.273,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.13952,
    "h": 287.7
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#46348C
secondary
#A3B26A
accent
#D552BB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #46348C

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

Preview Lab → · Contrast checker → · Palette generator →

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