#462183#462183

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

Color values

HEX#462183
RGBrgb(70, 33, 131)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 51%)
CMYKcmyk(46.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(23.76, 39.82, -48.56)
CIE-LCHlch(23.76, 62.80, 309.35°)
OKLaboklab(36.06% 0.064 -0.1391)
OKLCHoklch(36.06% 0.153 294.7)
XYZxyz(7.1653, 4.0283, 21.8683)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462183 #5E8321
analogous
#212D83 #462183 #772183
triadic
#462183 #834621 #218346
tetradic
#462183 #83212D #5E8321 #218377
square
#462183 #83212D #5E8321 #218377
split-complementary
#462183 #837721 #2D8321
monochromatic
#120821 #2C1552 #462183 #602DB4 #7F4CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462183#FFFFFF#000000##FFFFFF
##4621831.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)
#003986
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#353A50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462183;
/* rgb */ color: rgb(70, 33, 131);
/* oklch */ color: oklch(36.1% 0.153 294.7);
Tailwind
colors: {
  custom: {
    50: '#8060a8',
    500: '#462183',
    950: '#000000',
  },
}
SCSS
$custom: #462183;
$custom-light: #8060a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462183",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 262.653,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.15312,
    "h": 294.7
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#462183
secondary
#8DB54B
accent
#E345A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462183

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

Preview Lab → · Contrast checker → · Palette generator →

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