#462CBB#462CBB

#462CBB is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.208 H 281.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#462CBB
RGBrgb(70, 44, 187)
HSLhsl(251, 62%, 45%)
HSVhsv(251, 76%, 73%)
CMYKcmyk(62.6%, 76.5%, 0%, 26.7%)
CIE-LABlab(31.09, 50.56, -70.64)
CIE-LCHlch(31.09, 86.87, 305.59°)
OKLaboklab(42.84% 0.041 -0.2038)
OKLCHoklch(42.84% 0.208 281.4)
XYZxyz(12.3933, 6.6904, 47.6424)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CBB #A1BB2C
analogous
#2C59BB #462CBB #8D2CBB
triadic
#462CBB #BB462C #2CBB46
tetradic
#462CBB #BB2C59 #A1BB2C #2CBB8D
square
#462CBB #BB2C59 #A1BB2C #2CBB8D
split-complementary
#462CBB #BB8D2C #59BB2C
monochromatic
#211558 #332089 #462CBB #674FD6 #9280E1

Accessibility & contrast

On white

8.98
#462CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#462CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CBB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CBB#FFFFFF#000000##FFFFFF
##462CBB1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462cbb;
/* rgb */ color: rgb(70, 44, 187);
/* oklch */ color: oklch(42.8% 0.208 281.4);
Tailwind
colors: {
  custom: {
    50: '#8869d1',
    500: '#462cbb',
    950: '#000000',
  },
}
SCSS
$custom: #462cbb;
$custom-light: #8869d1;
$custom-dark: #000000;
JSON
{
  "hex": "#462cbb",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 250.909,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.2079,
    "h": 281.4
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#462CBB
secondary
#BBCA79
accent
#E543C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #462CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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