#462FB1#462FB1

#462FB1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.193 H 282.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#462FB1
RGBrgb(70, 47, 177)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(60.5%, 73.4%, 0%, 30.6%)
CIE-LABlab(30.66, 46.00, -65.41)
CIE-LCHlch(30.66, 79.97, 305.12°)
OKLaboklab(42.24% 0.0414 -0.1885)
OKLCHoklch(42.24% 0.193 282.4)
XYZxyz(11.4756, 6.5087, 42.2380)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB1 #9AB12F
analogous
#2F59B1 #462FB1 #872FB1
triadic
#462FB1 #B1462F #2FB146
tetradic
#462FB1 #B12F59 #9AB12F #2FB187
square
#462FB1 #B12F59 #9AB12F #2FB187
split-complementary
#462FB1 #B1872F #59B12F
monochromatic
#201550 #332281 #462FB1 #644DD0 #8F7EDD

Accessibility & contrast

On white

9.12
#462FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#462FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB1
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB1#FFFFFF#000000##FFFFFF
##462FB11.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462fb1;
/* rgb */ color: rgb(70, 47, 177);
/* oklch */ color: oklch(42.2% 0.193 282.4);
Tailwind
colors: {
  custom: {
    50: '#866ac9',
    500: '#462fb1',
    950: '#000000',
  },
}
SCSS
$custom: #462fb1;
$custom-light: #866ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb1",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 250.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.19305,
    "h": 282.4
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#462FB1
secondary
#B7C576
accent
#E147C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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