#46188F#46188F

#46188F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.176 H 292.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#46188F
RGBrgb(70, 24, 143)
HSLhsl(263, 71%, 33%)
HSVhsv(263, 83%, 56%)
CMYKcmyk(51%, 83.2%, 0%, 43.9%)
CIE-LABlab(23.47, 47.25, -56.56)
CIE-LCHlch(23.47, 73.70, 309.88°)
OKLaboklab(36.2% 0.0678 -0.1624)
OKLCHoklch(36.2% 0.176 292.7)
XYZxyz(7.8090, 3.9382, 26.3300)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46188F #618F18
analogous
#18268F #46188F #81188F
triadic
#46188F #8F4618 #188F46
tetradic
#46188F #8F1826 #618F18 #188F81
square
#46188F #8F1826 #618F18 #188F81
split-complementary
#46188F #8F8118 #268F18
monochromatic
#130626 #2C0F5B #46188F #6021C3 #7F42DF

Accessibility & contrast

On white

11.75
#46188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#46188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46188F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46188F#FFFFFF#000000##FFFFFF
##46188F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#2E3B55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46188f;
/* rgb */ color: rgb(70, 24, 143);
/* oklch */ color: oklch(36.2% 0.176 292.7);
Tailwind
colors: {
  custom: {
    50: '#825cb1',
    500: '#46188f',
    950: '#000000',
  },
}
SCSS
$custom: #46188f;
$custom-light: #825cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#46188f",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 263.193,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36196,
    "c": 0.17603,
    "h": 292.7
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#46188F
secondary
#90C043
accent
#EE3AA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #46188F

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

Preview Lab → · Contrast checker → · Palette generator →

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