#462267#462267

#462267 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.8% C 0.118 H 304.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#462267
RGBrgb(70, 34, 103)
HSLhsl(271, 50%, 27%)
HSVhsv(271, 67%, 40%)
CMYKcmyk(32%, 67%, 0%, 59.6%)
CIE-LABlab(21.67, 31.54, -34.03)
CIE-LCHlch(21.67, 46.40, 312.83°)
OKLaboklab(33.84% 0.0673 -0.0964)
OKLCHoklch(33.84% 0.118 304.9)
XYZxyz(5.5455, 3.4254, 13.1984)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462267 #436722
analogous
#232267 #462267 #672266
triadic
#462267 #674622 #226746
tetradic
#462267 #672322 #436722 #226667
square
#462267 #672322 #436722 #226667
split-complementary
#462267 #666722 #226723
monochromatic
#100817 #271339 #462267 #653195 #8443C1

Accessibility & contrast

On white

12.46
#462267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#462267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462267
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462267#FFFFFF#000000##FFFFFF
##4622671.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#403041
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462267;
/* rgb */ color: rgb(70, 34, 103);
/* oklch */ color: oklch(33.8% 0.118 304.9);
Tailwind
colors: {
  custom: {
    50: '#7c5f93',
    500: '#462267',
    950: '#000000',
  },
}
SCSS
$custom: #462267;
$custom-light: #7c5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#462267",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 271.304,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.11752,
    "h": 304.9
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#462267
secondary
#719B4A
accent
#DA4E91
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462267

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

Preview Lab → · Contrast checker → · Palette generator →

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