#462696#462696

#462696 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.170 H 288.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#462696
RGBrgb(70, 38, 150)
HSLhsl(257, 60%, 37%)
HSVhsv(257, 75%, 59%)
CMYKcmyk(53.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(26.42, 42.69, -56.03)
CIE-LCHlch(26.42, 70.44, 307.30°)
OKLaboklab(38.46% 0.0549 -0.161)
OKLCHoklch(38.46% 0.17 288.8)
XYZxyz(8.7223, 4.8899, 29.3325)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462696 #769626
analogous
#263E96 #462696 #7E2696
triadic
#462696 #964626 #269646
tetradic
#462696 #96263E #769626 #26967E
square
#462696 #96263E #769626 #26967E
split-complementary
#462696 #967E26 #3E9626
monochromatic
#180D34 #2F1A65 #462696 #5D32C7 #8260D7

Accessibility & contrast

On white

10.62
#462696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#462696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462696
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462696#FFFFFF#000000##FFFFFF
##4626961.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#28445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462696;
/* rgb */ color: rgb(70, 38, 150);
/* oklch */ color: oklch(38.5% 0.170 288.8);
Tailwind
colors: {
  custom: {
    50: '#8264b6',
    500: '#462696',
    950: '#000000',
  },
}
SCSS
$custom: #462696;
$custom-light: #8264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462696",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 257.143,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.17013,
    "h": 288.8
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#462696
secondary
#A0BC5C
accent
#E345B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462696

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

Preview Lab → · Contrast checker → · Palette generator →

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