#462277#462277

#462277 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.137 H 298.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#462277
RGBrgb(70, 34, 119)
HSLhsl(265, 56%, 30%)
HSVhsv(265, 71%, 47%)
CMYKcmyk(41.2%, 71.4%, 0%, 53.3%)
CIE-LABlab(22.92, 35.92, -42.33)
CIE-LCHlch(22.92, 55.52, 310.32°)
OKLaboklab(35.14% 0.0654 -0.1208)
OKLCHoklch(35.14% 0.137 298.4)
XYZxyz(6.4267, 3.7780, 17.8398)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462277 #537722
analogous
#222877 #462277 #712277
triadic
#462277 #774622 #227746
tetradic
#462277 #772228 #537722 #227771
square
#462277 #772228 #537722 #227771
split-complementary
#462277 #777122 #287722
monochromatic
#0E0718 #2A1447 #462277 #6230A7 #8049CB

Accessibility & contrast

On white

11.96
#462277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#462277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462277
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462277#FFFFFF#000000##FFFFFF
##4622771.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#3A3649
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462277;
/* rgb */ color: rgb(70, 34, 119);
/* oklch */ color: oklch(35.1% 0.137 298.4);
Tailwind
colors: {
  custom: {
    50: '#7e609f',
    500: '#462277',
    950: '#000000',
  },
}
SCSS
$custom: #462277;
$custom-light: #7e609f;
$custom-dark: #000000;
JSON
{
  "hex": "#462277",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 265.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.13733,
    "h": 298.4
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#462277
secondary
#82AA4B
accent
#DF499F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462277

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

Preview Lab → · Contrast checker → · Palette generator →

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