#462C8B#462C8B

#462C8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.149 H 290.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#462C8B
RGBrgb(70, 44, 139)
HSLhsl(256, 52%, 36%)
HSVhsv(256, 68%, 55%)
CMYKcmyk(49.6%, 68.3%, 0%, 45.5%)
CIE-LABlab(26.64, 36.10, -48.87)
CIE-LCHlch(26.64, 60.76, 306.45°)
OKLaboklab(38.32% 0.0513 -0.14)
OKLCHoklch(38.32% 0.149 290.1)
XYZxyz(8.0853, 4.9672, 24.9538)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C8B #718B2C
analogous
#2C418B #462C8B #752C8B
triadic
#462C8B #8B462C #2C8B46
tetradic
#462C8B #8B2C41 #718B2C #2C8B75
square
#462C8B #8B2C41 #718B2C #2C8B75
split-complementary
#462C8B #8B752C #418B2C
monochromatic
#170F2E #2F1D5D #462C8B #5D3BB9 #8164CE

Accessibility & contrast

On white

10.53
#462C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#462C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C8B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C8B#FFFFFF#000000##FFFFFF
##462C8B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#2F4357
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462c8b;
/* rgb */ color: rgb(70, 44, 139);
/* oklch */ color: oklch(38.3% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#8067ae',
    500: '#462c8b',
    950: '#000000',
  },
}
SCSS
$custom: #462c8b;
$custom-light: #8067ae;
$custom-dark: #000000;
JSON
{
  "hex": "#462c8b",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 256.421,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.14915,
    "h": 290.1
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#462C8B
secondary
#9DB45F
accent
#DB4CB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462C8B

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

Preview Lab → · Contrast checker → · Palette generator →

#462C8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva