#462BA5#462BA5

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

Color values

HEX#462BA5
RGBrgb(70, 43, 165)
HSLhsl(253, 59%, 41%)
HSVhsv(253, 74%, 65%)
CMYKcmyk(57.6%, 73.9%, 0%, 35.3%)
CIE-LABlab(28.76, 44.50, -61.33)
CIE-LCHlch(28.76, 75.78, 305.97°)
OKLaboklab(40.55% 0.0472 -0.1766)
OKLCHoklch(40.55% 0.183 285)
XYZxyz(10.1791, 5.7458, 36.1627)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA5 #8AA52B
analogous
#2B4DA5 #462BA5 #832BA5
triadic
#462BA5 #A5462B #2BA546
tetradic
#462BA5 #A52B4D #8AA52B #2BA583
square
#462BA5 #A52B4D #8AA52B #2BA583
split-complementary
#462BA5 #A5832B #4DA52B
monochromatic
#1D1244 #311E74 #462BA5 #5F40CD #8871DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462BA5#FFFFFF#000000##FFFFFF
##462BA51.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)
#0047A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#164C65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ba5;
/* rgb */ color: rgb(70, 43, 165);
/* oklch */ color: oklch(40.6% 0.183 285.0);
Tailwind
colors: {
  custom: {
    50: '#8467c1',
    500: '#462ba5',
    950: '#000000',
  },
}
SCSS
$custom: #462ba5;
$custom-light: #8467c1;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba5",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 253.279,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.18278,
    "h": 285
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#462BA5
secondary
#AEC16B
accent
#E246BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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