#462BBB#462BBB

#462BBB is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.209 H 281.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#462BBB
RGBrgb(70, 43, 187)
HSLhsl(251, 63%, 45%)
HSVhsv(251, 77%, 73%)
CMYKcmyk(62.6%, 77%, 0%, 26.7%)
CIE-LABlab(30.92, 51.06, -70.93)
CIE-LCHlch(30.92, 87.40, 305.75°)
OKLaboklab(42.72% 0.0417 -0.2046)
OKLCHoklch(42.72% 0.209 281.5)
XYZxyz(12.3565, 6.6168, 47.6301)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BBB #A0BB2B
analogous
#2B58BB #462BBB #8E2BBB
triadic
#462BBB #BB462B #2BBB46
tetradic
#462BBB #BB2B58 #A0BB2B #2BBB8E
square
#462BBB #BB2B58 #A0BB2B #2BBB8E
split-complementary
#462BBB #BB8E2B #58BB2B
monochromatic
#211457 #332089 #462BBB #674DD6 #917FE2

Accessibility & contrast

On white

9.04
#462BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462BBB
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BBB#FFFFFF#000000##FFFFFF
##462BBB1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462bbb;
/* rgb */ color: rgb(70, 43, 187);
/* oklch */ color: oklch(42.7% 0.209 281.5);
Tailwind
colors: {
  custom: {
    50: '#8868d1',
    500: '#462bbb',
    950: '#000000',
  },
}
SCSS
$custom: #462bbb;
$custom-light: #8868d1;
$custom-dark: #000000;
JSON
{
  "hex": "#462bbb",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 251.25,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.20883,
    "h": 281.5
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#462BBB
secondary
#BBCA78
accent
#E642C7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #462BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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