#462782#462782

#462782 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.144 H 293.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#462782
RGBrgb(70, 39, 130)
HSLhsl(260, 54%, 33%)
HSVhsv(260, 70%, 51%)
CMYKcmyk(46.2%, 70%, 0%, 49%)
CIE-LABlab(24.84, 36.29, -46.18)
CIE-LCHlch(24.84, 58.73, 308.16°)
OKLaboklab(36.8% 0.058 -0.1321)
OKLCHoklch(36.8% 0.144 293.7)
XYZxyz(7.2795, 4.3646, 21.5737)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462782 #638227
analogous
#273582 #462782 #732782
triadic
#462782 #824627 #278246
tetradic
#462782 #822735 #638227 #278273
square
#462782 #822735 #638227 #278273
split-complementary
#462782 #827327 #358227
monochromatic
#130B24 #2D1953 #462782 #5F35B1 #7F57CD

Accessibility & contrast

On white

11.21
#462782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#462782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462782
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462782#FFFFFF#000000##FFFFFF
##4627821.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#353D51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462782;
/* rgb */ color: rgb(70, 39, 130);
/* oklch */ color: oklch(36.8% 0.144 293.7);
Tailwind
colors: {
  custom: {
    50: '#7f63a7',
    500: '#462782',
    950: '#000000',
  },
}
SCSS
$custom: #462782;
$custom-light: #7f63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462782",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 260.44,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.1443,
    "h": 293.7
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#462782
secondary
#91B153
accent
#DD4BAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #462782

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

Preview Lab → · Contrast checker → · Palette generator →

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