#462BB4#462BB4

#462BB4 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.0% C 0.201 H 282.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#462BB4
RGBrgb(70, 43, 180)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 76%, 71%)
CMYKcmyk(61.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(30.22, 48.99, -67.93)
CIE-LCHlch(30.22, 83.75, 305.80°)
OKLaboklab(42.02% 0.0435 -0.1959)
OKLCHoklch(42.02% 0.201 282.5)
XYZxyz(11.6253, 6.3243, 43.7793)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BB4 #99B42B
analogous
#2B54B4 #462BB4 #8A2BB4
triadic
#462BB4 #B4462B #2BB446
tetradic
#462BB4 #B42B54 #99B42B #2BB48A
square
#462BB4 #B42B54 #99B42B #2BB48A
split-complementary
#462BB4 #B48A2B #54B42B
monochromatic
#201351 #331F83 #462BB4 #6449D3 #8E7ADF

Accessibility & contrast

On white

9.27
#462BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#462BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BB4
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BB4#FFFFFF#000000##FFFFFF
##462BB41.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462bb4;
/* rgb */ color: rgb(70, 43, 180);
/* oklch */ color: oklch(42.0% 0.201 282.5);
Tailwind
colors: {
  custom: {
    50: '#8768cc',
    500: '#462bb4',
    950: '#000000',
  },
}
SCSS
$custom: #462bb4;
$custom-light: #8768cc;
$custom-dark: #000000;
JSON
{
  "hex": "#462bb4",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 251.825,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.20066,
    "h": 282.5
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#462BB4
secondary
#B7C773
accent
#E543C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #462BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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