#462282#462282

#462282 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.151 H 294.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#462282
RGBrgb(70, 34, 130)
HSLhsl(263, 59%, 32%)
HSVhsv(263, 74%, 51%)
CMYKcmyk(46.2%, 73.8%, 0%, 49%)
CIE-LABlab(23.86, 39.02, -47.78)
CIE-LCHlch(23.86, 61.69, 309.24°)
OKLaboklab(36.1% 0.0632 -0.1368)
OKLCHoklch(36.1% 0.151 294.8)
XYZxyz(7.1260, 4.0577, 21.5225)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462282 #5E8222
analogous
#222E82 #462282 #762282
triadic
#462282 #824622 #228246
tetradic
#462282 #82222E #5E8222 #228276
square
#462282 #82222E #5E8222 #228276
split-complementary
#462282 #827622 #2E8222
monochromatic
#120921 #2C1551 #462282 #602FB3 #7F4ED1

Accessibility & contrast

On white

11.59
#462282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462282
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462282#FFFFFF#000000##FFFFFF
##4622821.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#353B4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462282;
/* rgb */ color: rgb(70, 34, 130);
/* oklch */ color: oklch(36.1% 0.151 294.8);
Tailwind
colors: {
  custom: {
    50: '#8060a7',
    500: '#462282',
    950: '#000000',
  },
}
SCSS
$custom: #462282;
$custom-light: #8060a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462282",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 262.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.1507,
    "h": 294.8
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#462282
secondary
#8DB44C
accent
#E246A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462282

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

Preview Lab → · Contrast checker → · Palette generator →

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