#462B95#462B95

#462B95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.163 H 288.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#462B95
RGBrgb(70, 43, 149)
HSLhsl(255, 55%, 38%)
HSVhsv(255, 71%, 58%)
CMYKcmyk(53%, 71.1%, 0%, 41.6%)
CIE-LABlab(27.30, 39.69, -53.98)
CIE-LCHlch(27.30, 67.00, 306.32°)
OKLaboklab(39.06% 0.0506 -0.155)
OKLCHoklch(39.06% 0.163 288.1)
XYZxyz(8.8129, 5.1994, 28.9672)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B95 #7A952B
analogous
#2B4595 #462B95 #7B2B95
triadic
#462B95 #95462B #2B9546
tetradic
#462B95 #952B45 #7A952B #2B957B
square
#462B95 #952B45 #7A952B #2B957B
split-complementary
#462B95 #957B2B #45952B
monochromatic
#191036 #301D66 #462B95 #5C39C4 #8367D3

Accessibility & contrast

On white

10.29
#462B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#462B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B95
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B95#FFFFFF#000000##FFFFFF
##462B951.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#28465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462b95;
/* rgb */ color: rgb(70, 43, 149);
/* oklch */ color: oklch(39.1% 0.163 288.1);
Tailwind
colors: {
  custom: {
    50: '#8267b5',
    500: '#462b95',
    950: '#000000',
  },
}
SCSS
$custom: #462b95;
$custom-light: #8267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462b95",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 255.283,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.1631,
    "h": 288.1
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#462B95
secondary
#A3BA62
accent
#DF49B9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462B95

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

Preview Lab → · Contrast checker → · Palette generator →

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