#462985#462985

#462985 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.145 H 292.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#462985
RGBrgb(70, 41, 133)
HSLhsl(259, 53%, 34%)
HSVhsv(259, 69%, 52%)
CMYKcmyk(47.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(25.51, 36.04, -46.98)
CIE-LCHlch(25.51, 59.21, 307.49°)
OKLaboklab(37.35% 0.0554 -0.1345)
OKLCHoklch(37.35% 0.145 292.4)
XYZxyz(7.5512, 4.5812, 22.6721)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462985 #688529
analogous
#293A85 #462985 #742985
triadic
#462985 #854629 #298546
tetradic
#462985 #85293A #688529 #298574
square
#462985 #85293A #688529 #298574
split-complementary
#462985 #857429 #3A8529
monochromatic
#150C27 #2D1B56 #462985 #5F37B4 #7F5CCD

Accessibility & contrast

On white

10.96
#462985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462985
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462985#FFFFFF#000000##FFFFFF
##4629851.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#333F53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462985;
/* rgb */ color: rgb(70, 41, 133);
/* oklch */ color: oklch(37.4% 0.145 292.4);
Tailwind
colors: {
  custom: {
    50: '#7f65a9',
    500: '#462985',
    950: '#000000',
  },
}
SCSS
$custom: #462985;
$custom-light: #7f65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462985",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 258.913,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.14544,
    "h": 292.4
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#462985
secondary
#96B258
accent
#DC4CAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462985

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

Preview Lab → · Contrast checker → · Palette generator →

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