#462697#462697

#462697 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.171 H 288.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#462697
RGBrgb(70, 38, 151)
HSLhsl(257, 60%, 37%)
HSVhsv(257, 75%, 59%)
CMYKcmyk(53.6%, 74.8%, 0%, 40.8%)
CIE-LABlab(26.51, 42.98, -56.49)
CIE-LCHlch(26.51, 70.99, 307.26°)
OKLaboklab(38.56% 0.0546 -0.1624)
OKLCHoklch(38.56% 0.171 288.6)
XYZxyz(8.8032, 4.9223, 29.7584)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462697 #779726
analogous
#263F97 #462697 #7F2697
triadic
#462697 #974626 #269746
tetradic
#462697 #97263F #779726 #26977F
square
#462697 #97263F #779726 #26977F
split-complementary
#462697 #977F26 #3F9726
monochromatic
#190D35 #2F1A66 #462697 #5D32C8 #8260D7

Accessibility & contrast

On white

10.58
#462697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462697
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462697#FFFFFF#000000##FFFFFF
##4626971.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#27455C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462697;
/* rgb */ color: rgb(70, 38, 151);
/* oklch */ color: oklch(38.6% 0.171 288.6);
Tailwind
colors: {
  custom: {
    50: '#8264b7',
    500: '#462697',
    950: '#000000',
  },
}
SCSS
$custom: #462697;
$custom-light: #8264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462697",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 256.991,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.17134,
    "h": 288.6
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462697

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

Preview Lab → · Contrast checker → · Palette generator →

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