#46125F#46125F

#46125F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.131 H 311.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#46125F
RGBrgb(70, 18, 95)
HSLhsl(281, 68%, 22%)
HSVhsv(281, 81%, 37%)
CMYKcmyk(26.3%, 81.1%, 0%, 62.7%)
CIE-LABlab(18.19, 37.53, -34.38)
CIE-LCHlch(18.19, 50.89, 317.51°)
OKLaboklab(31.16% 0.0872 -0.0973)
OKLCHoklch(31.16% 0.131 311.9)
XYZxyz(4.8073, 2.5611, 11.0654)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46125F #2B5F12
analogous
#1F125F #46125F #5F1252
triadic
#46125F #5F4612 #125F46
tetradic
#46125F #5F1F12 #2B5F12 #12525F
square
#46125F #5F1F12 #2B5F12 #12525F
split-complementary
#46125F #525F12 #125F1F
monochromatic
#13051A #20082C #46125F #6C1C92 #9225C6

Accessibility & contrast

On white

13.89
#46125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46125F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46125F#FFFFFF#000000##FFFFFF
##46125F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#432438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #46125f;
/* rgb */ color: rgb(70, 18, 95);
/* oklch */ color: oklch(31.2% 0.131 311.9);
Tailwind
colors: {
  custom: {
    50: '#7d568d',
    500: '#46125f',
    950: '#000000',
  },
}
SCSS
$custom: #46125f;
$custom-light: #7d568d;
$custom-dark: #000000;
JSON
{
  "hex": "#46125f",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 280.519,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.13069,
    "h": 311.9
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#46125F
secondary
#559736
accent
#EB3D75
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #46125F

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

Preview Lab → · Contrast checker → · Palette generator →

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