#462882#462882

#462882 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.143 H 293.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#462882
RGBrgb(70, 40, 130)
HSLhsl(260, 53%, 33%)
HSVhsv(260, 69%, 51%)
CMYKcmyk(46.2%, 69.2%, 0%, 49%)
CIE-LABlab(25.05, 35.73, -45.84)
CIE-LCHlch(25.05, 58.12, 307.93°)
OKLaboklab(36.94% 0.0569 -0.1311)
OKLCHoklch(36.94% 0.143 293.5)
XYZxyz(7.3127, 4.4312, 21.5848)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462882 #648228
analogous
#283782 #462882 #732882
triadic
#462882 #824628 #288246
tetradic
#462882 #822837 #648228 #288273
square
#462882 #822837 #648228 #288273
split-complementary
#462882 #827328 #378228
monochromatic
#140B24 #2D1A53 #462882 #5F36B1 #7F59CC

Accessibility & contrast

On white

11.13
#462882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462882
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462882#FFFFFF#000000##FFFFFF
##4628821.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462882;
/* rgb */ color: rgb(70, 40, 130);
/* oklch */ color: oklch(36.9% 0.143 293.5);
Tailwind
colors: {
  custom: {
    50: '#7f64a7',
    500: '#462882',
    950: '#000000',
  },
}
SCSS
$custom: #462882;
$custom-light: #7f64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462882",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 260,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.14296,
    "h": 293.5
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#462882
secondary
#92B155
accent
#DC4BAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #462882

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

Preview Lab → · Contrast checker → · Palette generator →

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