#462AB3#462AB3

#462AB3 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.8% C 0.200 H 282.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#462AB3
RGBrgb(70, 42, 179)
HSLhsl(252, 62%, 43%)
HSVhsv(252, 77%, 70%)
CMYKcmyk(60.9%, 76.5%, 0%, 29.8%)
CIE-LABlab(29.94, 49.19, -67.79)
CIE-LCHlch(29.94, 83.76, 305.97°)
OKLaboklab(41.79% 0.0444 -0.1955)
OKLCHoklch(41.79% 0.2 282.8)
XYZxyz(11.4879, 6.2119, 43.2327)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AB3 #97B32A
analogous
#2A52B3 #462AB3 #8A2AB3
triadic
#462AB3 #B3462A #2AB346
tetradic
#462AB3 #B32A52 #97B32A #2AB38A
square
#462AB3 #B32A52 #97B32A #2AB38A
split-complementary
#462AB3 #B38A2A #52B32A
monochromatic
#1F1350 #331E81 #462AB3 #6346D4 #8D78DF

Accessibility & contrast

On white

9.36
#462AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#462AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AB3
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AB3#FFFFFF#000000##FFFFFF
##462AB31.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462ab3;
/* rgb */ color: rgb(70, 42, 179);
/* oklch */ color: oklch(41.8% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#8767cb',
    500: '#462ab3',
    950: '#000000',
  },
}
SCSS
$custom: #462ab3;
$custom-light: #8767cb;
$custom-dark: #000000;
JSON
{
  "hex": "#462ab3",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 252.263,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.20044,
    "h": 282.8
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#462AB3
secondary
#B6C772
accent
#E543C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #462AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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