#462995#462995

#462995 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.165 H 288.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#462995
RGBrgb(70, 41, 149)
HSLhsl(256, 57%, 37%)
HSVhsv(256, 72%, 58%)
CMYKcmyk(53%, 72.5%, 0%, 41.6%)
CIE-LABlab(26.90, 40.79, -54.63)
CIE-LCHlch(26.90, 68.18, 306.75°)
OKLaboklab(38.78% 0.0525 -0.1569)
OKLCHoklch(38.78% 0.165 288.5)
XYZxyz(8.7420, 5.0575, 28.9435)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462995 #789529
analogous
#294295 #462995 #7C2995
triadic
#462995 #954629 #299546
tetradic
#462995 #952942 #789529 #29957C
square
#462995 #952942 #789529 #29957C
split-complementary
#462995 #957C29 #429529
monochromatic
#190F35 #2F1C65 #462995 #5D36C5 #8264D4

Accessibility & contrast

On white

10.44
#462995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462995
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462995#FFFFFF#000000##FFFFFF
##4629951.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#28455C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462995;
/* rgb */ color: rgb(70, 41, 149);
/* oklch */ color: oklch(38.8% 0.165 288.5);
Tailwind
colors: {
  custom: {
    50: '#8265b5',
    500: '#462995',
    950: '#000000',
  },
}
SCSS
$custom: #462995;
$custom-light: #8265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462995",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 256.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38776,
    "c": 0.16549,
    "h": 288.5
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#462995
secondary
#A2BA60
accent
#E048B7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462995

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

Preview Lab → · Contrast checker → · Palette generator →

#462995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva