#462E82#462E82

#462E82 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.135 H 291.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#462E82
RGBrgb(70, 46, 130)
HSLhsl(257, 48%, 35%)
HSVhsv(257, 65%, 51%)
CMYKcmyk(46.2%, 64.6%, 0%, 49%)
CIE-LABlab(26.35, 32.19, -43.72)
CIE-LCHlch(26.35, 54.30, 306.36°)
OKLaboklab(37.89% 0.0501 -0.1249)
OKLCHoklch(37.89% 0.135 291.9)
XYZxyz(7.5309, 4.8675, 21.6575)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E82 #6A822E
analogous
#2E4082 #462E82 #702E82
triadic
#462E82 #82462E #2E8246
tetradic
#462E82 #822E40 #6A822E #2E8270
square
#462E82 #822E40 #6A822E #2E8270
split-complementary
#462E82 #82702E #40822E
monochromatic
#150E28 #2E1E55 #462E82 #5E3EAF #8063C8

Accessibility & contrast

On white

10.64
#462E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#462E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E82
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E82#FFFFFF#000000##FFFFFF
##462E821.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#344153
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462e82;
/* rgb */ color: rgb(70, 46, 130);
/* oklch */ color: oklch(37.9% 0.135 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f68a7',
    500: '#462e82',
    950: '#000000',
  },
}
SCSS
$custom: #462e82;
$custom-light: #7f68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462e82",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 257.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37887,
    "c": 0.13458,
    "h": 291.9
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#462E82
secondary
#97AE5D
accent
#D750B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462E82

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

Preview Lab → · Contrast checker → · Palette generator →

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