#462285#462285

#462285 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.154 H 293.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#462285
RGBrgb(70, 34, 133)
HSLhsl(262, 59%, 33%)
HSVhsv(262, 74%, 52%)
CMYKcmyk(47.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(24.13, 39.87, -49.23)
CIE-LCHlch(24.13, 63.35, 309.00°)
OKLaboklab(36.37% 0.0626 -0.1411)
OKLCHoklch(36.37% 0.154 293.9)
XYZxyz(7.3303, 4.1394, 22.5985)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462285 #618522
analogous
#223085 #462285 #772285
triadic
#462285 #854622 #228546
tetradic
#462285 #852230 #618522 #228577
square
#462285 #852230 #618522 #228577
split-complementary
#462285 #857722 #308522
monochromatic
#130924 #2C1654 #462285 #602EB6 #7F4FD2

Accessibility & contrast

On white

11.49
#462285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#462285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462285
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462285#FFFFFF#000000##FFFFFF
##4622851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#343C51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462285;
/* rgb */ color: rgb(70, 34, 133);
/* oklch */ color: oklch(36.4% 0.154 293.9);
Tailwind
colors: {
  custom: {
    50: '#8061a9',
    500: '#462285',
    950: '#000000',
  },
}
SCSS
$custom: #462285;
$custom-light: #8061a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462285",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 261.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.15431,
    "h": 293.9
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#462285
secondary
#90B64D
accent
#E245A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462285

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

Preview Lab → · Contrast checker → · Palette generator →

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