#462FB2#462FB2

#462FB2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.194 H 282.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#462FB2
RGBrgb(70, 47, 178)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(30.76, 46.30, -65.85)
CIE-LCHlch(30.76, 80.50, 305.11°)
OKLaboklab(42.34% 0.0412 -0.1898)
OKLCHoklch(42.34% 0.194 282.3)
XYZxyz(11.5757, 6.5487, 42.7649)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB2 #9BB22F
analogous
#2F5AB2 #462FB2 #882FB2
triadic
#462FB2 #B2462F #2FB246
tetradic
#462FB2 #B22F5A #9BB22F #2FB288
square
#462FB2 #B22F5A #9BB22F #2FB288
split-complementary
#462FB2 #B2882F #5AB22F
monochromatic
#201551 #332282 #462FB2 #654ED0 #8F7EDD

Accessibility & contrast

On white

9.09
#462FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462FB2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB2#FFFFFF#000000##FFFFFF
##462FB21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462fb2;
/* rgb */ color: rgb(70, 47, 178);
/* oklch */ color: oklch(42.3% 0.194 282.3);
Tailwind
colors: {
  custom: {
    50: '#866aca',
    500: '#462fb2',
    950: '#000000',
  },
}
SCSS
$custom: #462fb2;
$custom-light: #866aca;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb2",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 250.534,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42337,
    "c": 0.19426,
    "h": 282.3
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#462FB2
secondary
#B8C677
accent
#E146C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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