#46125E#46125E

#46125E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.130 H 312.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#46125E
RGBrgb(70, 18, 94)
HSLhsl(281, 68%, 22%)
HSVhsv(281, 81%, 37%)
CMYKcmyk(25.5%, 80.9%, 0%, 63.1%)
CIE-LABlab(18.11, 37.29, -33.84)
CIE-LCHlch(18.11, 50.36, 317.78°)
OKLaboklab(31.08% 0.0874 -0.0957)
OKLCHoklch(31.08% 0.13 312.4)
XYZxyz(4.7621, 2.5430, 10.8275)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46125E #2A5E12
analogous
#20125E #46125E #5E1250
triadic
#46125E #5E4612 #125E46
tetradic
#46125E #5E2012 #2A5E12 #12505E
square
#46125E #5E2012 #2A5E12 #12505E
split-complementary
#46125E #505E12 #125E20
monochromatic
#13051A #20082B #46125E #6C1C91 #9326C5

Accessibility & contrast

On white

13.92
#46125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#46125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46125E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46125E#FFFFFF#000000##FFFFFF
##46125E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#432437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #46125e;
/* rgb */ color: rgb(70, 18, 94);
/* oklch */ color: oklch(31.1% 0.130 312.4);
Tailwind
colors: {
  custom: {
    50: '#7d568c',
    500: '#46125e',
    950: '#000000',
  },
}
SCSS
$custom: #46125e;
$custom-light: #7d568c;
$custom-dark: #000000;
JSON
{
  "hex": "#46125e",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 281.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.12965,
    "h": 312.4
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#46125E
secondary
#549635
accent
#EB3D74
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #46125E

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

Preview Lab → · Contrast checker → · Palette generator →

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