#46187E#46187E

#46187E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.157 H 297.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#46187E
RGBrgb(70, 24, 126)
HSLhsl(267, 68%, 29%)
HSVhsv(267, 81%, 49%)
CMYKcmyk(44.4%, 81%, 0%, 50.6%)
CIE-LABlab(21.81, 42.74, -48.61)
CIE-LCHlch(21.81, 64.73, 311.32°)
OKLaboklab(34.54% 0.0735 -0.1392)
OKLCHoklch(34.54% 0.157 297.8)
XYZxyz(6.6173, 3.4616, 20.0541)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46187E #507E18
analogous
#181D7E #46187E #79187E
triadic
#46187E #7E4618 #187E46
tetradic
#46187E #7E181D #507E18 #187E79
square
#46187E #7E181D #507E18 #187E79
split-complementary
#46187E #7E7918 #1D7E18
monochromatic
#0E051A #290E4B #46187E #6322B1 #8037D9

Accessibility & contrast

On white

12.41
#46187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#46187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46187E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46187E#FFFFFF#000000##FFFFFF
##46187E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#38344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46187e;
/* rgb */ color: rgb(70, 24, 126);
/* oklch */ color: oklch(34.5% 0.157 297.8);
Tailwind
colors: {
  custom: {
    50: '#805ba4',
    500: '#46187e',
    950: '#000000',
  },
}
SCSS
$custom: #46187e;
$custom-light: #805ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#46187e",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 267.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.1574,
    "h": 297.8
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#46187E
secondary
#7FB23F
accent
#EB3D9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46187E

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

Preview Lab → · Contrast checker → · Palette generator →

#46187E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva