#46348E#46348E

#46348E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.142 H 287.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#46348E
RGBrgb(70, 52, 142)
HSLhsl(252, 46%, 38%)
HSVhsv(252, 63%, 56%)
CMYKcmyk(50.7%, 63.4%, 0%, 44.3%)
CIE-LABlab(28.67, 32.23, -47.43)
CIE-LCHlch(28.67, 57.34, 304.19°)
OKLaboklab(39.87% 0.0423 -0.1358)
OKLCHoklch(39.87% 0.142 287.3)
XYZxyz(8.6348, 5.7107, 26.2332)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46348E #7C8E34
analogous
#344F8E #46348E #73348E
triadic
#46348E #8E4634 #348E46
tetradic
#46348E #8E344F #7C8E34 #348E73
square
#46348E #8E344F #7C8E34 #348E73
split-complementary
#46348E #8E7334 #4F8E34
monochromatic
#1A1334 #302461 #46348E #5C44BB #8371CB

Accessibility & contrast

On white

9.80
#46348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#46348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46348E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46348E#FFFFFF#000000##FFFFFF
##46348E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#2D495C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #46348e;
/* rgb */ color: rgb(70, 52, 142);
/* oklch */ color: oklch(39.9% 0.142 287.3);
Tailwind
colors: {
  custom: {
    50: '#806cb0',
    500: '#46348e',
    950: '#000000',
  },
}
SCSS
$custom: #46348e;
$custom-light: #806cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#46348e",
  "rgb": {
    "r": 70,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 252,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.14225,
    "h": 287.3
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#46348E
secondary
#A5B36A
accent
#D652BC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #46348E

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

Preview Lab → · Contrast checker → · Palette generator →

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