#46338D#46338D

#46338D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.142 H 287.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#46338D
RGBrgb(70, 51, 141)
HSLhsl(253, 47%, 38%)
HSVhsv(253, 64%, 55%)
CMYKcmyk(50.4%, 63.8%, 0%, 44.7%)
CIE-LABlab(28.36, 32.53, -47.32)
CIE-LCHlch(28.36, 57.42, 304.51°)
OKLaboklab(39.62% 0.0435 -0.1355)
OKLCHoklch(39.62% 0.142 287.8)
XYZxyz(8.5159, 5.5925, 25.8249)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46338D #7A8D33
analogous
#334D8D #46338D #73338D
triadic
#46338D #8D4633 #338D46
tetradic
#46338D #8D334D #7A8D33 #338D73
square
#46338D #8D334D #7A8D33 #338D73
split-complementary
#46338D #8D7333 #4D8D33
monochromatic
#191233 #302360 #46338D #5C43BA #836FCB

Accessibility & contrast

On white

9.91
#46338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#46338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46338D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46338D#FFFFFF#000000##FFFFFF
##46338D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#2D485B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46338d;
/* rgb */ color: rgb(70, 51, 141);
/* oklch */ color: oklch(39.6% 0.142 287.8);
Tailwind
colors: {
  custom: {
    50: '#806caf',
    500: '#46338d',
    950: '#000000',
  },
}
SCSS
$custom: #46338d;
$custom-light: #806caf;
$custom-dark: #000000;
JSON
{
  "hex": "#46338d",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 252.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.14228,
    "h": 287.8
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#46338D
secondary
#A3B369
accent
#D751BA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #46338D

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

Preview Lab → · Contrast checker → · Palette generator →

#46338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva