#462188#462188

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

Color values

HEX#462188
RGBrgb(70, 33, 136)
HSLhsl(262, 61%, 33%)
HSVhsv(262, 76%, 53%)
CMYKcmyk(48.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(24.22, 41.23, -50.96)
CIE-LCHlch(24.22, 65.55, 308.97°)
OKLaboklab(36.51% 0.0628 -0.1461)
OKLCHoklch(36.51% 0.159 293.3)
XYZxyz(7.5123, 4.1671, 23.6963)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462188 #638821
analogous
#213088 #462188 #792188
triadic
#462188 #884621 #218846
tetradic
#462188 #882130 #638821 #218879
square
#462188 #882130 #638821 #218879
split-complementary
#462188 #887921 #308821
monochromatic
#130925 #2D1557 #462188 #5F2DB9 #7F4FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462188#FFFFFF#000000##FFFFFF
##4621881.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)
#003B8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#323C53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462188;
/* rgb */ color: rgb(70, 33, 136);
/* oklch */ color: oklch(36.5% 0.159 293.3);
Tailwind
colors: {
  custom: {
    50: '#8060ac',
    500: '#462188',
    950: '#000000',
  },
}
SCSS
$custom: #462188;
$custom-light: #8060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462188",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 261.553,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.15906,
    "h": 293.3
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#462188
secondary
#91B84D
accent
#E444AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462188

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

Preview Lab → · Contrast checker → · Palette generator →

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