#46187B#46187B

#46187B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.154 H 298.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#46187B
RGBrgb(70, 24, 123)
HSLhsl(268, 67%, 29%)
HSVhsv(268, 80%, 48%)
CMYKcmyk(43.1%, 80.5%, 0%, 51.8%)
CIE-LABlab(21.53, 41.95, -47.16)
CIE-LCHlch(21.53, 63.12, 311.65°)
OKLaboklab(34.26% 0.0744 -0.1349)
OKLCHoklch(34.26% 0.154 298.9)
XYZxyz(6.4267, 3.3853, 19.0499)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46187B #4D7B18
analogous
#181C7B #46187B #78187B
triadic
#46187B #7B4618 #187B46
tetradic
#46187B #7B181C #4D7B18 #187B78
square
#46187B #7B181C #4D7B18 #187B78
split-complementary
#46187B #7B7818 #1C7B18
monochromatic
#0F051A #290E48 #46187B #6322AE #8136D8

Accessibility & contrast

On white

12.52
#46187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#46187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46187B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46187B#FFFFFF#000000##FFFFFF
##46187B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#393349
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46187b;
/* rgb */ color: rgb(70, 24, 123);
/* oklch */ color: oklch(34.3% 0.154 298.9);
Tailwind
colors: {
  custom: {
    50: '#7f5ba2',
    500: '#46187b',
    950: '#000000',
  },
}
SCSS
$custom: #46187b;
$custom-light: #7f5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#46187b",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 267.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.15408,
    "h": 298.9
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#46187B
secondary
#7BB03F
accent
#EA3E9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46187B

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

Preview Lab → · Contrast checker → · Palette generator →

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