#462DA7#462DA7

#462DA7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.183 H 284.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#462DA7
RGBrgb(70, 45, 167)
HSLhsl(252, 58%, 42%)
HSVhsv(252, 73%, 65%)
CMYKcmyk(58.1%, 73.1%, 0%, 34.5%)
CIE-LABlab(29.33, 44.04, -61.60)
CIE-LCHlch(29.33, 75.72, 305.56°)
OKLaboklab(41.01% 0.0452 -0.1774)
OKLCHoklch(41.01% 0.183 284.3)
XYZxyz(10.4371, 5.9682, 37.1537)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DA7 #8EA72D
analogous
#2D51A7 #462DA7 #832DA7
triadic
#462DA7 #A7462D #2DA746
tetradic
#462DA7 #A72D51 #8EA72D #2DA783
square
#462DA7 #A72D51 #8EA72D #2DA783
split-complementary
#462DA7 #A7832D #51A72D
monochromatic
#1E1347 #322077 #462DA7 #6044CD #8975DA

Accessibility & contrast

On white

9.57
#462DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#462DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DA7
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DA7#FFFFFF#000000##FFFFFF
##462DA71.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#114E67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462da7;
/* rgb */ color: rgb(70, 45, 167);
/* oklch */ color: oklch(41.0% 0.183 284.3);
Tailwind
colors: {
  custom: {
    50: '#8469c2',
    500: '#462da7',
    950: '#000000',
  },
}
SCSS
$custom: #462da7;
$custom-light: #8469c2;
$custom-dark: #000000;
JSON
{
  "hex": "#462da7",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 252.295,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.18304,
    "h": 284.3
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#462DA7
secondary
#B0C16E
accent
#E147C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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