#46198B#46198B

#46198B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.171 H 293.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#46198B
RGBrgb(70, 25, 139)
HSLhsl(264, 70%, 32%)
HSVhsv(264, 82%, 55%)
CMYKcmyk(49.6%, 82%, 0%, 45.5%)
CIE-LABlab(23.21, 45.77, -54.49)
CIE-LCHlch(23.21, 71.16, 310.03°)
OKLaboklab(35.89% 0.0685 -0.1564)
OKLCHoklch(35.89% 0.171 293.7)
XYZxyz(7.5323, 3.8612, 24.7695)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46198B #5E8B19
analogous
#19258B #46198B #7F198B
triadic
#46198B #8B4619 #198B46
tetradic
#46198B #8B1925 #5E8B19 #198B7F
square
#46198B #8B1925 #5E8B19 #198B7F
split-complementary
#46198B #8B7F19 #258B19
monochromatic
#120623 #2C1057 #46198B #6022BF #7F41DD

Accessibility & contrast

On white

11.85
#46198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#46198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46198B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46198B#FFFFFF#000000##FFFFFF
##46198B1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#303A53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46198b;
/* rgb */ color: rgb(70, 25, 139);
/* oklch */ color: oklch(35.9% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#815cae',
    500: '#46198b',
    950: '#000000',
  },
}
SCSS
$custom: #46198b;
$custom-light: #815cae;
$custom-dark: #000000;
JSON
{
  "hex": "#46198b",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 263.684,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.17075,
    "h": 293.7
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#46198B
secondary
#8DBE42
accent
#EC3BA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #46198B

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

Preview Lab → · Contrast checker → · Palette generator →

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