#462F84#462F84

#462F84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.136 H 291.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#462F84
RGBrgb(70, 47, 132)
HSLhsl(256, 47%, 35%)
HSVhsv(256, 64%, 52%)
CMYKcmyk(47%, 64.4%, 0%, 48.2%)
CIE-LABlab(26.74, 32.19, -44.35)
CIE-LCHlch(26.74, 54.81, 305.97°)
OKLaboklab(38.21% 0.0488 -0.1268)
OKLCHoklch(38.21% 0.136 291)
XYZxyz(7.7060, 5.0008, 22.3845)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F84 #6D842F
analogous
#2F4384 #462F84 #702F84
triadic
#462F84 #84462F #2F8446
tetradic
#462F84 #842F43 #6D842F #2F8470
square
#462F84 #842F43 #6D842F #2F8470
split-complementary
#462F84 #84702F #43842F
monochromatic
#160F2A #2E1F57 #462F84 #5E3FB1 #8065C8

Accessibility & contrast

On white

10.50
#462F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#462F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F84
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F84#FFFFFF#000000##FFFFFF
##462F841.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#334355
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462f84;
/* rgb */ color: rgb(70, 47, 132);
/* oklch */ color: oklch(38.2% 0.136 291.0);
Tailwind
colors: {
  custom: {
    50: '#7f69a8',
    500: '#462f84',
    950: '#000000',
  },
}
SCSS
$custom: #462f84;
$custom-light: #7f69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462f84",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 256.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.13581,
    "h": 291
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#462F84
secondary
#9AAF60
accent
#D751B3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #462F84

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

Preview Lab → · Contrast checker → · Palette generator →

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