#462EB3#462EB3

#462EB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.197 H 282.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#462EB3
RGBrgb(70, 46, 179)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.9%, 74.3%, 0%, 29.8%)
CIE-LABlab(30.66, 47.14, -66.60)
CIE-LCHlch(30.66, 81.59, 305.29°)
OKLaboklab(42.3% 0.0417 -0.192)
OKLCHoklch(42.3% 0.197 282.3)
XYZxyz(11.6369, 6.5099, 43.2824)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EB3 #9BB32E
analogous
#2E59B3 #462EB3 #892EB3
triadic
#462EB3 #B3462E #2EB346
tetradic
#462EB3 #B32E59 #9BB32E #2EB389
square
#462EB3 #B32E59 #9BB32E #2EB389
split-complementary
#462EB3 #B3892E #59B32E
monochromatic
#201552 #332182 #462EB3 #654DD1 #8F7EDE

Accessibility & contrast

On white

9.12
#462EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#462EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EB3
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EB3#FFFFFF#000000##FFFFFF
##462EB31.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462eb3;
/* rgb */ color: rgb(70, 46, 179);
/* oklch */ color: oklch(42.3% 0.197 282.3);
Tailwind
colors: {
  custom: {
    50: '#876acb',
    500: '#462eb3',
    950: '#000000',
  },
}
SCSS
$custom: #462eb3;
$custom-light: #876acb;
$custom-dark: #000000;
JSON
{
  "hex": "#462eb3",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 250.827,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.1965,
    "h": 282.3
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#462EB3
secondary
#B8C676
accent
#E246C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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