#462BB2#462BB2

#462BB2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.198 H 282.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#462BB2
RGBrgb(70, 43, 178)
HSLhsl(252, 61%, 43%)
HSVhsv(252, 76%, 70%)
CMYKcmyk(60.7%, 75.8%, 0%, 30.2%)
CIE-LABlab(30.02, 48.39, -67.07)
CIE-LCHlch(30.02, 82.70, 305.81°)
OKLaboklab(41.82% 0.044 -0.1934)
OKLCHoklch(41.82% 0.198 282.8)
XYZxyz(11.4231, 6.2434, 42.7140)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BB2 #97B22B
analogous
#2B53B2 #462BB2 #892BB2
triadic
#462BB2 #B2462B #2BB246
tetradic
#462BB2 #B22B53 #97B22B #2BB289
square
#462BB2 #B22B53 #97B22B #2BB289
split-complementary
#462BB2 #B2892B #53B22B
monochromatic
#1F134F #331F81 #462BB2 #6348D3 #8D79DF

Accessibility & contrast

On white

9.34
#462BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#462BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BB2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BB2#FFFFFF#000000##FFFFFF
##462BB21.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462bb2;
/* rgb */ color: rgb(70, 43, 178);
/* oklch */ color: oklch(41.8% 0.198 282.8);
Tailwind
colors: {
  custom: {
    50: '#8768ca',
    500: '#462bb2',
    950: '#000000',
  },
}
SCSS
$custom: #462bb2;
$custom-light: #8768ca;
$custom-dark: #000000;
JSON
{
  "hex": "#462bb2",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 252,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.19831,
    "h": 282.8
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#462BB2
secondary
#B6C772
accent
#E444C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #462BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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