#462BAC#462BAC

#462BAC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.191 H 283.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#462BAC
RGBrgb(70, 43, 172)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(59.3%, 75%, 0%, 32.5%)
CIE-LABlab(29.43, 46.60, -64.44)
CIE-LCHlch(29.43, 79.53, 305.87°)
OKLaboklab(41.23% 0.0455 -0.1857)
OKLCHoklch(41.23% 0.191 283.8)
XYZxyz(10.8338, 6.0077, 39.6104)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BAC #91AC2B
analogous
#2B51AC #462BAC #872BAC
triadic
#462BAC #AC462B #2BAC46
tetradic
#462BAC #AC2B51 #91AC2B #2BAC87
square
#462BAC #AC2B51 #91AC2B #2BAC87
split-complementary
#462BAC #AC872B #51AC2B
monochromatic
#1E134A #321F7B #462BAC #6144D0 #8B75DC

Accessibility & contrast

On white

9.54
#462BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#462BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BAC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BAC#FFFFFF#000000##FFFFFF
##462BAC1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#044F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462bac;
/* rgb */ color: rgb(70, 43, 172);
/* oklch */ color: oklch(41.2% 0.191 283.8);
Tailwind
colors: {
  custom: {
    50: '#8668c6',
    500: '#462bac',
    950: '#000000',
  },
}
SCSS
$custom: #462bac;
$custom-light: #8668c6;
$custom-dark: #000000;
JSON
{
  "hex": "#462bac",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 252.558,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.19119,
    "h": 283.8
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#462BAC
secondary
#B2C46F
accent
#E345C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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