#462CB8#462CB8

#462CB8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.5% C 0.204 H 281.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#462CB8
RGBrgb(70, 44, 184)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 76%, 72%)
CMYKcmyk(62%, 76.1%, 0%, 27.8%)
CIE-LABlab(30.79, 49.67, -69.36)
CIE-LCHlch(30.79, 85.31, 305.61°)
OKLaboklab(42.54% 0.0418 -0.2001)
OKLCHoklch(42.54% 0.204 281.8)
XYZxyz(12.0755, 6.5633, 45.9686)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CB8 #9EB82C
analogous
#2C58B8 #462CB8 #8C2CB8
triadic
#462CB8 #B8462C #2CB846
tetradic
#462CB8 #B82C58 #9EB82C #2CB88C
square
#462CB8 #B82C58 #9EB82C #2CB88C
split-complementary
#462CB8 #B88C2C #58B82C
monochromatic
#201455 #332087 #462CB8 #664DD4 #907EE0

Accessibility & contrast

On white

9.08
#462CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#462CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CB8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CB8#FFFFFF#000000##FFFFFF
##462CB81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462cb8;
/* rgb */ color: rgb(70, 44, 184);
/* oklch */ color: oklch(42.5% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#8869cf',
    500: '#462cb8',
    950: '#000000',
  },
}
SCSS
$custom: #462cb8;
$custom-light: #8869cf;
$custom-dark: #000000;
JSON
{
  "hex": "#462cb8",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 251.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42538,
    "c": 0.20439,
    "h": 281.8
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#462CB8
secondary
#BAC977
accent
#E543C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #462CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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