#462842#462842

#462842 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.5% C 0.060 H 331.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#462842
RGBrgb(70, 40, 66)
HSLhsl(308, 27%, 22%)
HSVhsv(308, 43%, 27%)
CMYKcmyk(0%, 42.9%, 5.7%, 72.5%)
CIE-LABlab(20.88, 18.76, -10.57)
CIE-LCHlch(20.88, 21.53, 330.61°)
OKLaboklab(32.54% 0.0532 -0.0285)
OKLCHoklch(32.54% 0.06 331.8)
XYZxyz(4.2679, 3.2132, 5.5486)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462842 #28462C
analogous
#3B2846 #462842 #462833
triadic
#462842 #424628 #284246
tetradic
#462842 #463B28 #28462C #283346
square
#462842 #463B28 #28462C #283346
split-complementary
#462842 #334628 #28463B
monochromatic
#130B12 #1F121D #462842 #6D3E67 #94558B

Accessibility & contrast

On white

12.78
#462842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#462842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462842
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462842#FFFFFF#000000##FFFFFF
##4628421.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273043
Deuteranopia (green-blind)
#2F3441
Tritanopia (blue-blind)
#482A32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #462842;
/* rgb */ color: rgb(70, 40, 66);
/* oklch */ color: oklch(32.5% 0.060 331.8);
Tailwind
colors: {
  custom: {
    50: '#7a6276',
    500: '#462842',
    950: '#000000',
  },
}
SCSS
$custom: #462842;
$custom-light: #7a6276;
$custom-dark: #000000;
JSON
{
  "hex": "#462842",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 308,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.06039,
    "h": 331.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#462842
secondary
#527857
accent
#C47164
background
#F7F5F7
surface
#EDEAED
border
#C8C6C8
text
#090508
muted
#7B797B

Preview Lab

Preview with #462842

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

Preview Lab → · Contrast checker → · Palette generator →

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