#462DA1#462DA1

#462DA1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.176 H 285.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#462DA1
RGBrgb(70, 45, 161)
HSLhsl(253, 56%, 40%)
HSVhsv(253, 72%, 63%)
CMYKcmyk(56.5%, 72%, 0%, 36.9%)
CIE-LABlab(28.78, 42.21, -58.88)
CIE-LCHlch(28.78, 72.45, 305.64°)
OKLaboklab(40.45% 0.0465 -0.1694)
OKLCHoklch(40.45% 0.176 285.3)
XYZxyz(9.8953, 5.7515, 34.3000)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DA1 #88A12D
analogous
#2D4EA1 #462DA1 #802DA1
triadic
#462DA1 #A1462D #2DA146
tetradic
#462DA1 #A12D4E #88A12D #2DA180
square
#462DA1 #A12D4E #88A12D #2DA180
split-complementary
#462DA1 #A1802D #4EA12D
monochromatic
#1C1241 #312071 #462DA1 #5F41CA #8771D7

Accessibility & contrast

On white

9.77
#462DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#462DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DA1
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DA1#FFFFFF#000000##FFFFFF
##462DA11.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#1B4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462da1;
/* rgb */ color: rgb(70, 45, 161);
/* oklch */ color: oklch(40.4% 0.176 285.3);
Tailwind
colors: {
  custom: {
    50: '#8368be',
    500: '#462da1',
    950: '#000000',
  },
}
SCSS
$custom: #462da1;
$custom-light: #8368be;
$custom-dark: #000000;
JSON
{
  "hex": "#462da1",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 252.931,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.17568,
    "h": 285.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#462DA1
secondary
#ADBF6B
accent
#E048BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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