#462C8F#462C8F

#462C8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.154 H 289.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#462C8F
RGBrgb(70, 44, 143)
HSLhsl(256, 53%, 37%)
HSVhsv(256, 69%, 56%)
CMYKcmyk(51%, 69.2%, 0%, 43.9%)
CIE-LABlab(26.98, 37.31, -50.80)
CIE-LCHlch(26.98, 63.03, 306.29°)
OKLaboklab(38.67% 0.0507 -0.1457)
OKLCHoklch(38.67% 0.154 289.2)
XYZxyz(8.3830, 5.0863, 26.5213)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C8F #758F2C
analogous
#2C448F #462C8F #782C8F
triadic
#462C8F #8F462C #2C8F46
tetradic
#462C8F #8F2C44 #758F2C #2C8F78
square
#462C8F #8F2C44 #758F2C #2C8F78
split-complementary
#462C8F #8F782C #448F2C
monochromatic
#180F31 #2F1E60 #462C8F #5D3ABE #8166D0

Accessibility & contrast

On white

10.41
#462C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#462C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C8F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C8F#FFFFFF#000000##FFFFFF
##462C8F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#2D455A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462c8f;
/* rgb */ color: rgb(70, 44, 143);
/* oklch */ color: oklch(38.7% 0.154 289.2);
Tailwind
colors: {
  custom: {
    50: '#8167b1',
    500: '#462c8f',
    950: '#000000',
  },
}
SCSS
$custom: #462c8f;
$custom-light: #8167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462c8f",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 255.758,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.15428,
    "h": 289.2
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#462C8F
secondary
#A0B661
accent
#DC4BB6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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