#46198C#46198C

#46198C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.172 H 293.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#46198C
RGBrgb(70, 25, 140)
HSLhsl(263, 70%, 32%)
HSVhsv(263, 82%, 55%)
CMYKcmyk(50%, 82.1%, 0%, 45.1%)
CIE-LABlab(23.31, 46.04, -54.95)
CIE-LCHlch(23.31, 71.69, 309.96°)
OKLaboklab(35.99% 0.0682 -0.1578)
OKLCHoklch(35.99% 0.172 293.4)
XYZxyz(7.6057, 3.8905, 25.1561)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46198C #5F8C19
analogous
#19268C #46198C #7F198C
triadic
#46198C #8C4619 #198C46
tetradic
#46198C #8C1926 #5F8C19 #198C7F
square
#46198C #8C1926 #5F8C19 #198C7F
split-complementary
#46198C #8C7F19 #268C19
monochromatic
#120624 #2C1058 #46198C #6022C0 #7F42DD

Accessibility & contrast

On white

11.81
#46198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#46198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46198C
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46198C#FFFFFF#000000##FFFFFF
##46198C1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#303A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46198c;
/* rgb */ color: rgb(70, 25, 140);
/* oklch */ color: oklch(36.0% 0.172 293.4);
Tailwind
colors: {
  custom: {
    50: '#825caf',
    500: '#46198c',
    950: '#000000',
  },
}
SCSS
$custom: #46198c;
$custom-light: #825caf;
$custom-dark: #000000;
JSON
{
  "hex": "#46198c",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 263.478,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.17185,
    "h": 293.4
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#46198C
secondary
#8EBE43
accent
#ED3BA7
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #46198C

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

Preview Lab → · Contrast checker → · Palette generator →

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