#46185E#46185E

#46185E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 311.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#46185E
RGBrgb(70, 24, 94)
HSLhsl(279, 59%, 23%)
HSVhsv(279, 74%, 37%)
CMYKcmyk(25.5%, 74.5%, 0%, 63.1%)
CIE-LABlab(19.07, 34.57, -32.30)
CIE-LCHlch(19.07, 47.31, 316.95°)
OKLaboklab(31.76% 0.0808 -0.0912)
OKLCHoklch(31.76% 0.122 311.5)
XYZxyz(4.8724, 2.7636, 10.8643)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46185E #305E18
analogous
#23185E #46185E #5E1853
triadic
#46185E #5E4618 #185E46
tetradic
#46185E #5E2318 #305E18 #18535E
square
#46185E #5E2318 #305E18 #18535E
split-complementary
#46185E #535E18 #185E23
monochromatic
#120618 #220C2D #46185E #6A248F #8F31C0

Accessibility & contrast

On white

13.52
#46185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#46185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46185E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46185E#FFFFFF#000000##FFFFFF
##46185E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#432739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #46185e;
/* rgb */ color: rgb(70, 24, 94);
/* oklch */ color: oklch(31.8% 0.122 311.5);
Tailwind
colors: {
  custom: {
    50: '#7c598c',
    500: '#46185e',
    950: '#000000',
  },
}
SCSS
$custom: #46185e;
$custom-light: #7c598c;
$custom-dark: #000000;
JSON
{
  "hex": "#46185e",
  "rgb": {
    "r": 70,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 279.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.12185,
    "h": 311.5
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#46185E
secondary
#5B943D
accent
#E3457B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #46185E

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

Preview Lab → · Contrast checker → · Palette generator →

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