#462BA8#462BA8

#462BA8 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.186 H 284.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#462BA8
RGBrgb(70, 43, 168)
HSLhsl(253, 59%, 41%)
HSVhsv(253, 74%, 66%)
CMYKcmyk(58.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(29.05, 45.40, -62.67)
CIE-LCHlch(29.05, 77.39, 305.92°)
OKLaboklab(40.84% 0.0465 -0.1805)
OKLCHoklch(40.84% 0.186 284.4)
XYZxyz(10.4554, 5.8564, 37.6176)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA8 #8DA82B
analogous
#2B4FA8 #462BA8 #852BA8
triadic
#462BA8 #A8462B #2BA846
tetradic
#462BA8 #A82B4F #8DA82B #2BA885
square
#462BA8 #A82B4F #8DA82B #2BA885
split-complementary
#462BA8 #A8852B #4FA82B
monochromatic
#1D1247 #321F77 #462BA8 #6042CF #8972DB

Accessibility & contrast

On white

9.67
#462BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#462BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BA8
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA8#FFFFFF#000000##FFFFFF
##462BA81.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#104E67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ba8;
/* rgb */ color: rgb(70, 43, 168);
/* oklch */ color: oklch(40.8% 0.186 284.4);
Tailwind
colors: {
  custom: {
    50: '#8567c3',
    500: '#462ba8',
    950: '#000000',
  },
}
SCSS
$custom: #462ba8;
$custom-light: #8567c3;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba8",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 252.96,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.18639,
    "h": 284.4
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#462BA8
secondary
#B0C26C
accent
#E245C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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