#461240#461240

#461240 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.100 H 332.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#461240
RGBrgb(70, 18, 64)
HSLhsl(307, 59%, 17%)
HSVhsv(307, 74%, 27%)
CMYKcmyk(0%, 74.3%, 8.6%, 72.5%)
CIE-LABlab(16.03, 30.90, -16.69)
CIE-LCHlch(16.03, 35.12, 331.62°)
OKLaboklab(28.92% 0.0889 -0.0457)
OKLCHoklch(28.92% 0.1 332.8)
XYZxyz(3.6675, 2.1052, 5.0627)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461240 #124618
analogous
#321246 #461240 #461226
triadic
#461240 #404612 #124046
tetradic
#461240 #463212 #124618 #122646
square
#461240 #463212 #124618 #122646
split-complementary
#461240 #264612 #124632
monochromatic
#180616 #180616 #461240 #771F6D #A72B99

Accessibility & contrast

On white

14.78
#461240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#461240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461240
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461240#FFFFFF#000000##FFFFFF
##4612401.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#222B3F
Tritanopia (blue-blind)
#491727
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #461240;
/* rgb */ color: rgb(70, 18, 64);
/* oklch */ color: oklch(28.9% 0.100 332.8);
Tailwind
colors: {
  custom: {
    50: '#7c5575',
    500: '#461240',
    950: '#000000',
  },
}
SCSS
$custom: #461240;
$custom-light: #7c5575;
$custom-dark: #000000;
JSON
{
  "hex": "#461240",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 306.923,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2892,
    "c": 0.09998,
    "h": 332.8
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#461240
secondary
#357F3D
accent
#E25846
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #461240

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

Preview Lab → · Contrast checker → · Palette generator →

#461240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva