#462899#462899

#462899 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.172 H 287.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#462899
RGBrgb(70, 40, 153)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 60%)
CMYKcmyk(54.2%, 73.9%, 0%, 40%)
CIE-LABlab(27.07, 42.52, -56.80)
CIE-LCHlch(27.07, 70.96, 306.82°)
OKLaboklab(39.01% 0.0525 -0.1633)
OKLCHoklch(39.01% 0.172 287.8)
XYZxyz(9.0327, 5.1191, 30.6430)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462899 #7B9928
analogous
#284399 #462899 #7E2899
triadic
#462899 #994628 #289946
tetradic
#462899 #992843 #7B9928 #28997E
square
#462899 #992843 #7B9928 #28997E
split-complementary
#462899 #997E28 #439928
monochromatic
#1A0F38 #301B68 #462899 #5C35CA #8365D7

Accessibility & contrast

On white

10.38
#462899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#462899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462899
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462899#FFFFFF#000000##FFFFFF
##4628991.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#25465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462899;
/* rgb */ color: rgb(70, 40, 153);
/* oklch */ color: oklch(39.0% 0.172 287.8);
Tailwind
colors: {
  custom: {
    50: '#8365b8',
    500: '#462899',
    950: '#000000',
  },
}
SCSS
$custom: #462899;
$custom-light: #8365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462899",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 255.929,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.17153,
    "h": 287.8
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#462899
secondary
#A4BD60
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462899

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

Preview Lab → · Contrast checker → · Palette generator →

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