#462186#462186

#462186 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.157 H 293.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#462186
RGBrgb(70, 33, 134)
HSLhsl(262, 60%, 33%)
HSVhsv(262, 75%, 53%)
CMYKcmyk(47.8%, 75.4%, 0%, 47.5%)
CIE-LABlab(24.03, 40.66, -50.01)
CIE-LCHlch(24.03, 64.45, 309.12°)
OKLaboklab(36.33% 0.0633 -0.1433)
OKLCHoklch(36.33% 0.157 293.8)
XYZxyz(7.3715, 4.1108, 22.9547)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462186 #618621
analogous
#212F86 #462186 #782186
triadic
#462186 #864621 #218646
tetradic
#462186 #86212F #618621 #218678
square
#462186 #86212F #618621 #218678
split-complementary
#462186 #867821 #2F8621
monochromatic
#130924 #2C1555 #462186 #602DB7 #7F4ED3

Accessibility & contrast

On white

11.52
#462186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462186
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462186#FFFFFF#000000##FFFFFF
##4621861.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#333C51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462186;
/* rgb */ color: rgb(70, 33, 134);
/* oklch */ color: oklch(36.3% 0.157 293.8);
Tailwind
colors: {
  custom: {
    50: '#8060aa',
    500: '#462186',
    950: '#000000',
  },
}
SCSS
$custom: #462186;
$custom-light: #8060aa;
$custom-dark: #000000;
JSON
{
  "hex": "#462186",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 261.98,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.15668,
    "h": 293.8
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#462186
secondary
#90B74C
accent
#E444A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462186

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

Preview Lab → · Contrast checker → · Palette generator →

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