#462BA9#462BA9

#462BA9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.188 H 284.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#462BA9
RGBrgb(70, 43, 169)
HSLhsl(253, 59%, 42%)
HSVhsv(253, 75%, 66%)
CMYKcmyk(58.6%, 74.6%, 0%, 33.7%)
CIE-LABlab(29.14, 45.70, -63.11)
CIE-LCHlch(29.14, 77.92, 305.91°)
OKLaboklab(40.94% 0.0463 -0.1818)
OKLCHoklch(40.94% 0.188 284.3)
XYZxyz(10.5489, 5.8938, 38.1102)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA9 #8EA92B
analogous
#2B4FA9 #462BA9 #852BA9
triadic
#462BA9 #A9462B #2BA946
tetradic
#462BA9 #A92B4F #8EA92B #2BA985
square
#462BA9 #A92B4F #8EA92B #2BA985
split-complementary
#462BA9 #A9852B #4FA92B
monochromatic
#1E1247 #321F78 #462BA9 #6042CF #8973DB

Accessibility & contrast

On white

9.64
#462BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#462BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BA9
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA9#FFFFFF#000000##FFFFFF
##462BA91.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#0D4E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ba9;
/* rgb */ color: rgb(70, 43, 169);
/* oklch */ color: oklch(40.9% 0.188 284.3);
Tailwind
colors: {
  custom: {
    50: '#8567c4',
    500: '#462ba9',
    950: '#000000',
  },
}
SCSS
$custom: #462ba9;
$custom-light: #8567c4;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba9",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 252.857,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.1876,
    "h": 284.3
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#462BA9
secondary
#B0C36D
accent
#E345C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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