#462295#462295

#462295 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.173 H 289.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#462295
RGBrgb(70, 34, 149)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 58%)
CMYKcmyk(53%, 77.2%, 0%, 41.6%)
CIE-LABlab(25.61, 44.42, -56.74)
CIE-LCHlch(25.61, 72.07, 308.06°)
OKLaboklab(37.87% 0.0585 -0.1631)
OKLCHoklch(37.87% 0.173 289.7)
XYZxyz(8.5211, 4.6157, 28.8699)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462295 #719522
analogous
#223795 #462295 #7F2295
triadic
#462295 #954622 #229546
tetradic
#462295 #952237 #719522 #22957F
square
#462295 #952237 #719522 #22957F
split-complementary
#462295 #957F22 #379522
monochromatic
#170B31 #2F1763 #462295 #5D2DC7 #8158D9

Accessibility & contrast

On white

10.92
#462295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462295
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462295#FFFFFF#000000##FFFFFF
##4622951.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#29425A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462295;
/* rgb */ color: rgb(70, 34, 149);
/* oklch */ color: oklch(37.9% 0.173 289.7);
Tailwind
colors: {
  custom: {
    50: '#8261b5',
    500: '#462295',
    950: '#000000',
  },
}
SCSS
$custom: #462295;
$custom-light: #8261b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462295",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 258.783,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37867,
    "c": 0.17325,
    "h": 289.7
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#462295
secondary
#9DBD56
accent
#E642B3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462295

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

Preview Lab → · Contrast checker → · Palette generator →

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