#462296#462296

#462296 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.174 H 289.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#462296
RGBrgb(70, 34, 150)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(53.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(25.71, 44.71, -57.20)
CIE-LCHlch(25.71, 72.60, 308.01°)
OKLaboklab(37.96% 0.0582 -0.1644)
OKLCHoklch(37.96% 0.174 289.5)
XYZxyz(8.6012, 4.6478, 29.2921)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462296 #729622
analogous
#223896 #462296 #802296
triadic
#462296 #964622 #229646
tetradic
#462296 #962238 #729622 #229680
square
#462296 #962238 #729622 #229680
split-complementary
#462296 #968022 #389622
monochromatic
#170B32 #2F1764 #462296 #5D2DC8 #8159D9

Accessibility & contrast

On white

10.88
#462296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462296
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462296#FFFFFF#000000##FFFFFF
##4622961.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#28425B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462296;
/* rgb */ color: rgb(70, 34, 150);
/* oklch */ color: oklch(38.0% 0.174 289.5);
Tailwind
colors: {
  custom: {
    50: '#8261b6',
    500: '#462296',
    950: '#000000',
  },
}
SCSS
$custom: #462296;
$custom-light: #8261b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462296",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 258.621,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.17442,
    "h": 289.5
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#462296
secondary
#9DBE56
accent
#E642B3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462296

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

Preview Lab → · Contrast checker → · Palette generator →

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