#462FB3#462FB3

#462FB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.195 H 282.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#462FB3
RGBrgb(70, 47, 179)
HSLhsl(250, 58%, 44%)
HSVhsv(250, 74%, 70%)
CMYKcmyk(60.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.85, 46.61, -66.29)
CIE-LCHlch(30.85, 81.04, 305.11°)
OKLaboklab(42.43% 0.041 -0.1911)
OKLCHoklch(42.43% 0.195 282.1)
XYZxyz(11.6764, 6.5890, 43.2956)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB3 #9CB32F
analogous
#2F5AB3 #462FB3 #882FB3
triadic
#462FB3 #B3462F #2FB346
tetradic
#462FB3 #B32F5A #9CB32F #2FB388
square
#462FB3 #B32F5A #9CB32F #2FB388
split-complementary
#462FB3 #B3882F #5AB32F
monochromatic
#201652 #332283 #462FB3 #654FD1 #8F7FDD

Accessibility & contrast

On white

9.06
#462FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#462FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB3
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB3#FFFFFF#000000##FFFFFF
##462FB31.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462fb3;
/* rgb */ color: rgb(70, 47, 179);
/* oklch */ color: oklch(42.4% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#866acb',
    500: '#462fb3',
    950: '#000000',
  },
}
SCSS
$custom: #462fb3;
$custom-light: #866acb;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb3",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 250.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.19547,
    "h": 282.1
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#462FB3
secondary
#B8C678
accent
#E246C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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