#462190#462190

#462190 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.168 H 291.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#462190
RGBrgb(70, 33, 144)
HSLhsl(260, 63%, 35%)
HSVhsv(260, 77%, 56%)
CMYKcmyk(51.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(24.96, 43.49, -54.72)
CIE-LCHlch(24.96, 69.90, 308.48°)
OKLaboklab(37.27% 0.0607 -0.1572)
OKLCHoklch(37.27% 0.168 291.1)
XYZxyz(8.1023, 4.4031, 26.8031)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462190 #6B9021
analogous
#213490 #462190 #7E2190
triadic
#462190 #904621 #219046
tetradic
#462190 #902134 #6B9021 #21907E
square
#462190 #902134 #6B9021 #21907E
split-complementary
#462190 #907E21 #349021
monochromatic
#160A2C #2E165E #462190 #5E2CC2 #8054D8

Accessibility & contrast

On white

11.17
#462190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#462190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462190
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462190#FFFFFF#000000##FFFFFF
##4621901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#2D4057
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462190;
/* rgb */ color: rgb(70, 33, 144);
/* oklch */ color: oklch(37.3% 0.168 291.1);
Tailwind
colors: {
  custom: {
    50: '#8261b2',
    500: '#462190',
    950: '#000000',
  },
}
SCSS
$custom: #462190;
$custom-light: #8261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462190",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 260,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.16846,
    "h": 291.1
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#462190
secondary
#98BB51
accent
#E642AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462190

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

Preview Lab → · Contrast checker → · Palette generator →

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