#462097#462097

#462097 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.178 H 289.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#462097
RGBrgb(70, 32, 151)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 79%, 59%)
CMYKcmyk(53.6%, 78.8%, 0%, 40.8%)
CIE-LABlab(25.47, 45.95, -58.21)
CIE-LCHlch(25.47, 74.16, 308.29°)
OKLaboklab(37.83% 0.0594 -0.1673)
OKLCHoklch(37.83% 0.178 289.6)
XYZxyz(8.6266, 4.5691, 29.6995)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462097 #719720
analogous
#203597 #462097 #812097
triadic
#462097 #974620 #209746
tetradic
#462097 #972035 #719720 #209781
square
#462097 #972035 #719720 #209781
split-complementary
#462097 #978120 #359720
monochromatic
#170B32 #2F1564 #462097 #5D2BC9 #8156DB

Accessibility & contrast

On white

10.97
#462097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462097
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462097#FFFFFF#000000##FFFFFF
##4620971.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#27425B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462097;
/* rgb */ color: rgb(70, 32, 151);
/* oklch */ color: oklch(37.8% 0.178 289.6);
Tailwind
colors: {
  custom: {
    50: '#8360b7',
    500: '#462097',
    950: '#000000',
  },
}
SCSS
$custom: #462097;
$custom-light: #8360b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462097",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 259.16,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.17759,
    "h": 289.6
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#462097
secondary
#9DBF54
accent
#E840B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462097

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

Preview Lab → · Contrast checker → · Palette generator →

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