#462274#462274

#462274 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 299.5°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#462274
RGBrgb(70, 34, 116)
HSLhsl(266, 55%, 29%)
HSVhsv(266, 71%, 45%)
CMYKcmyk(39.7%, 70.7%, 0%, 54.5%)
CIE-LABlab(22.68, 35.09, -40.81)
CIE-LCHlch(22.68, 53.82, 310.69°)
OKLaboklab(34.88% 0.0658 -0.1163)
OKLCHoklch(34.88% 0.134 299.5)
XYZxyz(6.2494, 3.7070, 16.9059)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462274 #507422
analogous
#222774 #462274 #6F2274
triadic
#462274 #744622 #227446
tetradic
#462274 #742227 #507422 #22746F
square
#462274 #742227 #507422 #22746F
split-complementary
#462274 #746F22 #277422
monochromatic
#0E0718 #291445 #462274 #6330A3 #8047C9

Accessibility & contrast

On white

12.06
#462274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462274
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462274#FFFFFF#000000##FFFFFF
##4622741.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#3B3548
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462274;
/* rgb */ color: rgb(70, 34, 116);
/* oklch */ color: oklch(34.9% 0.134 299.5);
Tailwind
colors: {
  custom: {
    50: '#7e609d',
    500: '#462274',
    950: '#000000',
  },
}
SCSS
$custom: #462274;
$custom-light: #7e609d;
$custom-dark: #000000;
JSON
{
  "hex": "#462274",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 266.341,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34884,
    "c": 0.13365,
    "h": 299.5
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#462274
secondary
#7FA74B
accent
#DE4A9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462274

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

Preview Lab → · Contrast checker → · Palette generator →

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