#462273#462273

#462273 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.132 H 299.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#462273
RGBrgb(70, 34, 115)
HSLhsl(267, 54%, 29%)
HSVhsv(267, 70%, 45%)
CMYKcmyk(39.1%, 70.4%, 0%, 54.9%)
CIE-LABlab(22.60, 34.81, -40.30)
CIE-LCHlch(22.60, 53.25, 310.82°)
OKLaboklab(34.8% 0.066 -0.1148)
OKLCHoklch(34.8% 0.132 299.9)
XYZxyz(6.1916, 3.6839, 16.6012)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462273 #4F7322
analogous
#222773 #462273 #6F2273
triadic
#462273 #734622 #227346
tetradic
#462273 #732227 #4F7322 #22736F
square
#462273 #732227 #4F7322 #22736F
split-complementary
#462273 #736F22 #277322
monochromatic
#0E0718 #291444 #462273 #6330A2 #8047C9

Accessibility & contrast

On white

12.09
#462273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462273
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462273#FFFFFF#000000##FFFFFF
##4622731.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#3C3547
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462273;
/* rgb */ color: rgb(70, 34, 115);
/* oklch */ color: oklch(34.8% 0.132 299.9);
Tailwind
colors: {
  custom: {
    50: '#7e609c',
    500: '#462273',
    950: '#000000',
  },
}
SCSS
$custom: #462273;
$custom-light: #7e609c;
$custom-dark: #000000;
JSON
{
  "hex": "#462273",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 266.667,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.348,
    "c": 0.13241,
    "h": 299.9
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#462273
secondary
#7DA64B
accent
#DE4A9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462273

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

Preview Lab → · Contrast checker → · Palette generator →

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