#46074E#46074E

#46074E is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.8% C 0.126 H 322.8°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#46074E
RGBrgb(70, 7, 78)
HSLhsl(293, 84%, 17%)
HSVhsv(293, 91%, 31%)
CMYKcmyk(10.3%, 91%, 0%, 69.4%)
CIE-LABlab(15.51, 37.76, -27.23)
CIE-LCHlch(15.51, 46.55, 324.20°)
OKLaboklab(28.85% 0.1003 -0.0762)
OKLCHoklch(28.85% 0.126 322.8)
XYZxyz(3.9768, 2.0044, 7.3837)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46074E #0F4E07
analogous
#23074E #46074E #4E0733
triadic
#46074E #4E4607 #074E46
tetradic
#46074E #4E2307 #0F4E07 #07334E
square
#46074E #4E2307 #0F4E07 #07334E
split-complementary
#46074E #334E07 #074E23
monochromatic
#19031C #19031C #46074E #780C86 #AB11BE

Accessibility & contrast

On white

14.99
#46074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#46074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46074E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46074E#FFFFFF#000000##FFFFFF
##46074E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#47172C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #46074e;
/* rgb */ color: rgb(70, 7, 78);
/* oklch */ color: oklch(28.8% 0.126 322.8);
Tailwind
colors: {
  custom: {
    50: '#7c5180',
    500: '#46074e',
    950: '#000000',
  },
}
SCSS
$custom: #46074e;
$custom-light: #7c5180;
$custom-dark: #000000;
JSON
{
  "hex": "#46074e",
  "rgb": {
    "r": 70,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 293.239,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28848,
    "c": 0.126,
    "h": 322.8
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#46074E
secondary
#308C25
accent
#FA2E45
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A020A
muted
#7C787C

Preview Lab

Preview with #46074E

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

Preview Lab → · Contrast checker → · Palette generator →

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