#462896#462896

#462896 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.168 H 288.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#462896
RGBrgb(70, 40, 150)
HSLhsl(256, 58%, 37%)
HSVhsv(256, 73%, 59%)
CMYKcmyk(53.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(26.80, 41.63, -55.42)
CIE-LCHlch(26.80, 69.31, 306.91°)
OKLaboklab(38.73% 0.0531 -0.1592)
OKLCHoklch(38.73% 0.168 288.5)
XYZxyz(8.7880, 5.0213, 29.3544)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462896 #789628
analogous
#284196 #462896 #7D2896
triadic
#462896 #964628 #289646
tetradic
#462896 #962841 #789628 #28967D
square
#462896 #962841 #789628 #28967D
split-complementary
#462896 #967D28 #419628
monochromatic
#190E35 #2F1B66 #462896 #5D35C6 #8263D5

Accessibility & contrast

On white

10.48
#462896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#462896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462896
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462896#FFFFFF#000000##FFFFFF
##4628961.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#27455C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462896;
/* rgb */ color: rgb(70, 40, 150);
/* oklch */ color: oklch(38.7% 0.168 288.5);
Tailwind
colors: {
  custom: {
    50: '#8265b6',
    500: '#462896',
    950: '#000000',
  },
}
SCSS
$custom: #462896;
$custom-light: #8265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462896",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 256.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.16787,
    "h": 288.5
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#462896
secondary
#A2BB5F
accent
#E147B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462896

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

Preview Lab → · Contrast checker → · Palette generator →

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