#462281#462281

#462281 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.149 H 295.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#462281
RGBrgb(70, 34, 129)
HSLhsl(263, 58%, 32%)
HSVhsv(263, 74%, 51%)
CMYKcmyk(45.7%, 73.6%, 0%, 49.4%)
CIE-LABlab(23.77, 38.74, -47.29)
CIE-LCHlch(23.77, 61.13, 309.32°)
OKLaboklab(36.01% 0.0635 -0.1354)
OKLCHoklch(36.01% 0.149 295.1)
XYZxyz(7.0592, 4.0309, 21.1707)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462281 #5D8122
analogous
#222E81 #462281 #762281
triadic
#462281 #814622 #228146
tetradic
#462281 #81222E #5D8122 #228176
square
#462281 #81222E #5D8122 #228176
split-complementary
#462281 #817622 #2E8122
monochromatic
#110820 #2C1551 #462281 #602FB1 #7F4DD0

Accessibility & contrast

On white

11.63
#462281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#462281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462281
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462281#FFFFFF#000000##FFFFFF
##4622811.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#363A4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462281;
/* rgb */ color: rgb(70, 34, 129);
/* oklch */ color: oklch(36.0% 0.149 295.1);
Tailwind
colors: {
  custom: {
    50: '#7f60a6',
    500: '#462281',
    950: '#000000',
  },
}
SCSS
$custom: #462281;
$custom-light: #7f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462281",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 262.737,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.14949,
    "h": 295.1
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#462281
secondary
#8CB34B
accent
#E146A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #462281

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

Preview Lab → · Contrast checker → · Palette generator →

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