#462DA3#462DA3

#462DA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.178 H 285.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#462DA3
RGBrgb(70, 45, 163)
HSLhsl(253, 57%, 41%)
HSVhsv(253, 72%, 64%)
CMYKcmyk(57.1%, 72.4%, 0%, 36.1%)
CIE-LABlab(28.96, 42.82, -59.79)
CIE-LCHlch(28.96, 73.55, 305.61°)
OKLaboklab(40.63% 0.046 -0.1721)
OKLCHoklch(40.63% 0.178 285)
XYZxyz(10.0730, 5.8226, 35.2363)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DA3 #8AA32D
analogous
#2D4FA3 #462DA3 #812DA3
triadic
#462DA3 #A3462D #2DA346
tetradic
#462DA3 #A32D4F #8AA32D #2DA381
square
#462DA3 #A32D4F #8AA32D #2DA381
split-complementary
#462DA3 #A3812D #4FA32D
monochromatic
#1D1343 #312073 #462DA3 #5F42CB #8872D8

Accessibility & contrast

On white

9.70
#462DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#462DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DA3
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DA3#FFFFFF#000000##FFFFFF
##462DA31.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#184D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462da3;
/* rgb */ color: rgb(70, 45, 163);
/* oklch */ color: oklch(40.6% 0.178 285.0);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#462da3',
    950: '#000000',
  },
}
SCSS
$custom: #462da3;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462da3",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 252.712,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.17814,
    "h": 285
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#462DA3
secondary
#AEC06C
accent
#E048C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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