#46124C#46124C

#46124C is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.111 H 323.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#46124C
RGBrgb(70, 18, 76)
HSLhsl(294, 62%, 18%)
HSVhsv(294, 76%, 30%)
CMYKcmyk(7.9%, 76.3%, 0%, 70.2%)
CIE-LABlab(16.78, 33.29, -23.82)
CIE-LCHlch(16.78, 40.94, 324.41°)
OKLaboklab(29.71% 0.0894 -0.0664)
OKLCHoklch(29.71% 0.111 323.4)
XYZxyz(4.0465, 2.2567, 7.0585)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46124C #184C12
analogous
#29124C #46124C #4C1235
triadic
#46124C #4C4612 #124C46
tetradic
#46124C #4C2912 #184C12 #12354C
square
#46124C #4C2912 #184C12 #12354C
split-complementary
#46124C #354C12 #124C29
monochromatic
#170619 #18061B #46124C #741E7D #A129AF

Accessibility & contrast

On white

14.47
#46124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#46124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46124C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46124C#FFFFFF#000000##FFFFFF
##46124C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#1B2B4B
Tritanopia (blue-blind)
#471C2D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #46124c;
/* rgb */ color: rgb(70, 18, 76);
/* oklch */ color: oklch(29.7% 0.111 323.4);
Tailwind
colors: {
  custom: {
    50: '#7c557e',
    500: '#46124c',
    950: '#000000',
  },
}
SCSS
$custom: #46124c;
$custom-light: #7c557e;
$custom-dark: #000000;
JSON
{
  "hex": "#46124c",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 293.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29705,
    "c": 0.11139,
    "h": 323.4
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#46124C
secondary
#3D8535
accent
#E54354
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #46124C

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

Preview Lab → · Contrast checker → · Palette generator →

#46124C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva