#462574#462574

#462574 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.129 H 298.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#462574
RGBrgb(70, 37, 116)
HSLhsl(265, 52%, 30%)
HSVhsv(265, 68%, 45%)
CMYKcmyk(39.7%, 68.1%, 0%, 54.5%)
CIE-LABlab(23.29, 33.41, -39.81)
CIE-LCHlch(23.29, 51.97, 310.00°)
OKLaboklab(35.32% 0.0623 -0.1134)
OKLCHoklch(35.32% 0.129 298.8)
XYZxyz(6.3390, 3.8861, 16.9357)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462574 #537425
analogous
#252C74 #462574 #6D2574
triadic
#462574 #744625 #257446
tetradic
#462574 #74252C #537425 #25746D
square
#462574 #74252C #537425 #25746D
split-complementary
#462574 #746D25 #2C7425
monochromatic
#0E0717 #2A1646 #462574 #6234A2 #804DC6

Accessibility & contrast

On white

11.82
#462574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#462574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462574
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462574#FFFFFF#000000##FFFFFF
##4625741.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#3B3749
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462574;
/* rgb */ color: rgb(70, 37, 116);
/* oklch */ color: oklch(35.3% 0.129 298.8);
Tailwind
colors: {
  custom: {
    50: '#7e629d',
    500: '#462574',
    950: '#000000',
  },
}
SCSS
$custom: #462574;
$custom-light: #7e629d;
$custom-dark: #000000;
JSON
{
  "hex": "#462574",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 265.063,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.35324,
    "c": 0.12937,
    "h": 298.8
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#462574
secondary
#82A74E
accent
#DB4DA0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462574

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

Preview Lab → · Contrast checker → · Palette generator →

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