#462BBA#462BBA

#462BBA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.208 H 281.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#462BBA
RGBrgb(70, 43, 186)
HSLhsl(251, 62%, 45%)
HSVhsv(251, 77%, 73%)
CMYKcmyk(62.4%, 76.9%, 0%, 27.1%)
CIE-LABlab(30.82, 50.76, -70.50)
CIE-LCHlch(30.82, 86.88, 305.75°)
OKLaboklab(42.62% 0.0419 -0.2034)
OKLCHoklch(42.62% 0.208 281.6)
XYZxyz(12.2498, 6.5741, 47.0683)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BBA #9FBA2B
analogous
#2B57BA #462BBA #8E2BBA
triadic
#462BBA #BA462B #2BBA46
tetradic
#462BBA #BA2B57 #9FBA2B #2BBA8E
square
#462BBA #BA2B57 #9FBA2B #2BBA8E
split-complementary
#462BBA #BA8E2B #57BA2B
monochromatic
#211457 #332088 #462BBA #664CD6 #917EE1

Accessibility & contrast

On white

9.07
#462BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#462BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BBA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BBA#FFFFFF#000000##FFFFFF
##462BBA1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462bba;
/* rgb */ color: rgb(70, 43, 186);
/* oklch */ color: oklch(42.6% 0.208 281.6);
Tailwind
colors: {
  custom: {
    50: '#8868d0',
    500: '#462bba',
    950: '#000000',
  },
}
SCSS
$custom: #462bba;
$custom-light: #8868d0;
$custom-dark: #000000;
JSON
{
  "hex": "#462bba",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 251.329,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.20767,
    "h": 281.6
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#462BBA
secondary
#BACA77
accent
#E642C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #462BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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