#462DB3#462DB3

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

Color values

HEX#462DB3
RGBrgb(70, 45, 179)
HSLhsl(251, 60%, 44%)
HSVhsv(251, 75%, 70%)
CMYKcmyk(60.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(30.48, 47.66, -66.90)
CIE-LCHlch(30.48, 82.15, 305.47°)
OKLaboklab(42.17% 0.0424 -0.1929)
OKLCHoklch(42.17% 0.198 282.4)
XYZxyz(11.5983, 6.4327, 43.2695)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB3 #9AB32D
analogous
#2D57B3 #462DB3 #892DB3
triadic
#462DB3 #B3462D #2DB346
tetradic
#462DB3 #B32D57 #9AB32D #2DB389
square
#462DB3 #B32D57 #9AB32D #2DB389
split-complementary
#462DB3 #B3892D #57B32D
monochromatic
#201451 #332182 #462DB3 #644BD2 #8F7CDE

Accessibility & contrast

On white

9.18
#462DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#462DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB3#FFFFFF#000000##FFFFFF
##462DB31.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462db3;
/* rgb */ color: rgb(70, 45, 179);
/* oklch */ color: oklch(42.2% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#8769cb',
    500: '#462db3',
    950: '#000000',
  },
}
SCSS
$custom: #462db3;
$custom-light: #8769cb;
$custom-dark: #000000;
JSON
{
  "hex": "#462db3",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 251.194,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.1975,
    "h": 282.4
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#462DB3
secondary
#B7C775
accent
#E345C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #462DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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