#46188C#46188C

#46188C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.173 H 293.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#46188C
RGBrgb(70, 24, 140)
HSLhsl(264, 71%, 32%)
HSVhsv(264, 83%, 55%)
CMYKcmyk(50%, 82.9%, 0%, 45.1%)
CIE-LABlab(23.16, 46.45, -55.19)
CIE-LCHlch(23.16, 72.13, 310.09°)
OKLaboklab(35.9% 0.0689 -0.1584)
OKLCHoklch(35.9% 0.173 293.5)
XYZxyz(7.5847, 3.8486, 25.1491)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46188C #5E8C18
analogous
#18248C #46188C #80188C
triadic
#46188C #8C4618 #188C46
tetradic
#46188C #8C1824 #5E8C18 #188C80
square
#46188C #8C1824 #5E8C18 #188C80
split-complementary
#46188C #8C8018 #248C18
monochromatic
#120624 #2C0F58 #46188C #6021C0 #7F40DE

Accessibility & contrast

On white

11.87
#46188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#46188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46188C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46188C#FFFFFF#000000##FFFFFF
##46188C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46188c;
/* rgb */ color: rgb(70, 24, 140);
/* oklch */ color: oklch(35.9% 0.173 293.5);
Tailwind
colors: {
  custom: {
    50: '#825caf',
    500: '#46188c',
    950: '#000000',
  },
}
SCSS
$custom: #46188c;
$custom-light: #825caf;
$custom-dark: #000000;
JSON
{
  "hex": "#46188c",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 263.793,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35896,
    "c": 0.17276,
    "h": 293.5
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#46188C
secondary
#8DBF41
accent
#ED3AA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #46188C

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

Preview Lab → · Contrast checker → · Palette generator →

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