#46187D#46187D

#46187D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.156 H 298.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#46187D
RGBrgb(70, 24, 125)
HSLhsl(267, 68%, 29%)
HSVhsv(267, 81%, 49%)
CMYKcmyk(44%, 80.8%, 0%, 51%)
CIE-LABlab(21.71, 42.48, -48.13)
CIE-LCHlch(21.71, 64.19, 311.43°)
OKLaboklab(34.44% 0.0738 -0.1377)
OKLCHoklch(34.44% 0.156 298.2)
XYZxyz(6.5531, 3.4359, 19.7160)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46187D #4F7D18
analogous
#181D7D #46187D #79187D
triadic
#46187D #7D4618 #187D46
tetradic
#46187D #7D181D #4F7D18 #187D79
square
#46187D #7D181D #4F7D18 #187D79
split-complementary
#46187D #7D7918 #1D7D18
monochromatic
#0E051A #290E4A #46187D #6322B0 #8037D9

Accessibility & contrast

On white

12.45
#46187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46187D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46187D#FFFFFF#000000##FFFFFF
##46187D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46187d;
/* rgb */ color: rgb(70, 24, 125);
/* oklch */ color: oklch(34.4% 0.156 298.2);
Tailwind
colors: {
  custom: {
    50: '#805ba4',
    500: '#46187d',
    950: '#000000',
  },
}
SCSS
$custom: #46187d;
$custom-light: #805ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#46187d",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 267.327,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34444,
    "c": 0.15628,
    "h": 298.2
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #46187D

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

Preview Lab → · Contrast checker → · Palette generator →

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