#462DB7#462DB7

#462DB7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.202 H 281.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#462DB7
RGBrgb(70, 45, 183)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 75%, 72%)
CMYKcmyk(61.7%, 75.4%, 0%, 28.2%)
CIE-LABlab(30.87, 48.86, -68.64)
CIE-LCHlch(30.87, 84.25, 305.45°)
OKLaboklab(42.56% 0.0414 -0.198)
OKLCHoklch(42.56% 0.202 281.8)
XYZxyz(12.0087, 6.5969, 45.4311)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB7 #9EB72D
analogous
#2D59B7 #462DB7 #8B2DB7
triadic
#462DB7 #B7462D #2DB746
tetradic
#462DB7 #B72D59 #9EB72D #2DB78B
square
#462DB7 #B72D59 #9EB72D #2DB78B
split-complementary
#462DB7 #B78B2D #59B72D
monochromatic
#201555 #332186 #462DB7 #664ED3 #907FDF

Accessibility & contrast

On white

9.05
#462DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462DB7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB7#FFFFFF#000000##FFFFFF
##462DB71.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462db7;
/* rgb */ color: rgb(70, 45, 183);
/* oklch */ color: oklch(42.6% 0.202 281.8);
Tailwind
colors: {
  custom: {
    50: '#8769ce',
    500: '#462db7',
    950: '#000000',
  },
}
SCSS
$custom: #462db7;
$custom-light: #8769ce;
$custom-dark: #000000;
JSON
{
  "hex": "#462db7",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 250.87,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.20225,
    "h": 281.8
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#462DB7
secondary
#BAC878
accent
#E444C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #462DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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