#462575#462575

#462575 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.131 H 298.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#462575
RGBrgb(70, 37, 117)
HSLhsl(265, 52%, 30%)
HSVhsv(265, 68%, 46%)
CMYKcmyk(40.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(23.37, 33.69, -40.33)
CIE-LCHlch(23.37, 52.55, 309.88°)
OKLaboklab(35.41% 0.0622 -0.1149)
OKLCHoklch(35.41% 0.131 298.4)
XYZxyz(6.3974, 3.9095, 17.2437)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462575 #547525
analogous
#252C75 #462575 #6E2575
triadic
#462575 #754625 #257546
tetradic
#462575 #75252C #547525 #25756E
square
#462575 #75252C #547525 #25756E
split-complementary
#462575 #756E25 #2C7525
monochromatic
#0E0818 #2A1647 #462575 #6234A3 #804EC7

Accessibility & contrast

On white

11.78
#462575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462575
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462575#FFFFFF#000000##FFFFFF
##4625751.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#3B3749
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462575;
/* rgb */ color: rgb(70, 37, 117);
/* oklch */ color: oklch(35.4% 0.131 298.4);
Tailwind
colors: {
  custom: {
    50: '#7e629d',
    500: '#462575',
    950: '#000000',
  },
}
SCSS
$custom: #462575;
$custom-light: #7e629d;
$custom-dark: #000000;
JSON
{
  "hex": "#462575",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 264.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.13064,
    "h": 298.4
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#462575
secondary
#83A84E
accent
#DB4CA0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462575

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

Preview Lab → · Contrast checker → · Palette generator →

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