#462670#462670

#462670 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.123 H 300.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#462670
RGBrgb(70, 38, 112)
HSLhsl(266, 49%, 29%)
HSVhsv(266, 66%, 44%)
CMYKcmyk(37.5%, 66.1%, 0%, 56.1%)
CIE-LABlab(23.20, 31.70, -37.40)
CIE-LCHlch(23.20, 49.03, 310.29°)
OKLaboklab(35.16% 0.0614 -0.1063)
OKLCHoklch(35.16% 0.123 300)
XYZxyz(6.1428, 3.8581, 15.7472)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462670 #507026
analogous
#262B70 #462670 #6B2670
triadic
#462670 #704626 #267046
tetradic
#462670 #70262B #507026 #26706B
square
#462670 #70262B #507026 #26706B
split-complementary
#462670 #706B26 #2B7026
monochromatic
#0E0817 #291642 #462670 #63369E #804EC3

Accessibility & contrast

On white

11.85
#462670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#462670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462670
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462670#FFFFFF#000000##FFFFFF
##4626701.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#07376E
Tritanopia (blue-blind)
#3D3647
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462670;
/* rgb */ color: rgb(70, 38, 112);
/* oklch */ color: oklch(35.2% 0.123 300.0);
Tailwind
colors: {
  custom: {
    50: '#7d629a',
    500: '#462670',
    950: '#000000',
  },
}
SCSS
$custom: #462670;
$custom-light: #7d629a;
$custom-dark: #000000;
JSON
{
  "hex": "#462670",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 265.946,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35158,
    "c": 0.12276,
    "h": 300
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#462670
secondary
#7FA34F
accent
#D94F9D
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462670

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

Preview Lab → · Contrast checker → · Palette generator →

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