#462A83#462A83

#462A83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.142 H 292.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#462A83
RGBrgb(70, 42, 131)
HSLhsl(259, 51%, 34%)
HSVhsv(259, 68%, 51%)
CMYKcmyk(46.6%, 67.9%, 0%, 48.6%)
CIE-LABlab(25.55, 34.87, -45.65)
CIE-LCHlch(25.55, 57.44, 307.37°)
OKLaboklab(37.33% 0.0546 -0.1306)
OKLCHoklch(37.33% 0.142 292.7)
XYZxyz(7.4494, 4.5965, 21.9630)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A83 #67832A
analogous
#2A3B83 #462A83 #732A83
triadic
#462A83 #83462A #2A8346
tetradic
#462A83 #832A3B #67832A #2A8373
square
#462A83 #832A3B #67832A #2A8373
split-complementary
#462A83 #83732A #3B832A
monochromatic
#140C26 #2D1B55 #462A83 #5F39B1 #7F5DCB

Accessibility & contrast

On white

10.94
#462A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A83
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A83#FFFFFF#000000##FFFFFF
##462A831.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#343F52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462a83;
/* rgb */ color: rgb(70, 42, 131);
/* oklch */ color: oklch(37.3% 0.142 292.7);
Tailwind
colors: {
  custom: {
    50: '#7f65a8',
    500: '#462a83',
    950: '#000000',
  },
}
SCSS
$custom: #462a83;
$custom-light: #7f65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462a83",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 258.876,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.14152,
    "h": 292.7
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#462A83
secondary
#95B158
accent
#DB4DAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A83

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

Preview Lab → · Contrast checker → · Palette generator →

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