#462286#462286

#462286 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.156 H 293.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#462286
RGBrgb(70, 34, 134)
HSLhsl(262, 60%, 33%)
HSVhsv(262, 75%, 53%)
CMYKcmyk(47.8%, 74.6%, 0%, 47.5%)
CIE-LABlab(24.22, 40.15, -49.71)
CIE-LCHlch(24.22, 63.90, 308.93°)
OKLaboklab(36.46% 0.0623 -0.1425)
OKLCHoklch(36.46% 0.156 293.6)
XYZxyz(7.3997, 4.1672, 22.9641)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462286 #628622
analogous
#223086 #462286 #782286
triadic
#462286 #864622 #228646
tetradic
#462286 #862230 #628622 #228678
square
#462286 #862230 #628622 #228678
split-complementary
#462286 #867822 #308622
monochromatic
#130924 #2C1655 #462286 #5F2EB7 #7F50D3

Accessibility & contrast

On white

11.45
#462286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462286
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462286#FFFFFF#000000##FFFFFF
##4622861.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#333C52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462286;
/* rgb */ color: rgb(70, 34, 134);
/* oklch */ color: oklch(36.5% 0.156 293.6);
Tailwind
colors: {
  custom: {
    50: '#8061aa',
    500: '#462286',
    950: '#000000',
  },
}
SCSS
$custom: #462286;
$custom-light: #8061aa;
$custom-dark: #000000;
JSON
{
  "hex": "#462286",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 261.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.15551,
    "h": 293.6
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#462286
secondary
#90B64E
accent
#E345AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462286

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

Preview Lab → · Contrast checker → · Palette generator →

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