#462283#462283

#462283 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.152 H 294.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#462283
RGBrgb(70, 34, 131)
HSLhsl(262, 59%, 32%)
HSVhsv(262, 74%, 51%)
CMYKcmyk(46.6%, 74%, 0%, 48.6%)
CIE-LABlab(23.95, 39.30, -48.26)
CIE-LCHlch(23.95, 62.24, 309.16°)
OKLaboklab(36.19% 0.063 -0.1382)
OKLCHoklch(36.19% 0.152 294.5)
XYZxyz(7.1934, 4.0846, 21.8777)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462283 #5F8322
analogous
#222F83 #462283 #772283
triadic
#462283 #834622 #228346
tetradic
#462283 #83222F #5F8322 #228377
square
#462283 #83222F #5F8322 #228377
split-complementary
#462283 #837722 #2F8322
monochromatic
#120922 #2C1552 #462283 #602FB4 #7F4ED1

Accessibility & contrast

On white

11.56
#462283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462283
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462283#FFFFFF#000000##FFFFFF
##4622831.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#353B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462283;
/* rgb */ color: rgb(70, 34, 131);
/* oklch */ color: oklch(36.2% 0.152 294.5);
Tailwind
colors: {
  custom: {
    50: '#8060a8',
    500: '#462283',
    950: '#000000',
  },
}
SCSS
$custom: #462283;
$custom-light: #8060a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462283",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 262.268,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36186,
    "c": 0.15191,
    "h": 294.5
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#462283
secondary
#8EB44C
accent
#E246A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462283

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

Preview Lab → · Contrast checker → · Palette generator →

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