#462F72#462F72

#462F72 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.111 H 296.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#462F72
RGBrgb(70, 47, 114)
HSLhsl(261, 42%, 32%)
HSVhsv(261, 59%, 45%)
CMYKcmyk(38.6%, 58.8%, 0%, 55.3%)
CIE-LABlab(25.41, 26.79, -35.12)
CIE-LCHlch(25.41, 44.17, 307.34°)
OKLaboklab(36.82% 0.0494 -0.0996)
OKLCHoklch(36.82% 0.111 296.4)
XYZxyz(6.5788, 4.5499, 16.4479)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F72 #5B722F
analogous
#2F3A72 #462F72 #682F72
triadic
#462F72 #72462F #2F7246
tetradic
#462F72 #722F3A #5B722F #2F7268
square
#462F72 #722F3A #5B722F #2F7268
split-complementary
#462F72 #72682F #3A722F
monochromatic
#110B1B #2B1D47 #462F72 #61419D #7F5FBD

Accessibility & contrast

On white

10.99
#462F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F72
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F72#FFFFFF#000000##FFFFFF
##462F721.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#3C3D4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462f72;
/* rgb */ color: rgb(70, 47, 114);
/* oklch */ color: oklch(36.8% 0.111 296.4);
Tailwind
colors: {
  custom: {
    50: '#7d689b',
    500: '#462f72',
    950: '#000000',
  },
}
SCSS
$custom: #462f72;
$custom-light: #7d689b;
$custom-dark: #000000;
JSON
{
  "hex": "#462f72",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 260.597,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.11116,
    "h": 296.4
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#462F72
secondary
#8AA35A
accent
#D156A7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #462F72

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

Preview Lab → · Contrast checker → · Palette generator →

#462F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva