#462C8E#462C8E

#462C8E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.153 H 289.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#462C8E
RGBrgb(70, 44, 142)
HSLhsl(256, 53%, 36%)
HSVhsv(256, 69%, 56%)
CMYKcmyk(50.7%, 69%, 0%, 44.3%)
CIE-LABlab(26.89, 37.01, -50.32)
CIE-LCHlch(26.89, 62.46, 306.33°)
OKLaboklab(38.58% 0.0509 -0.1443)
OKLCHoklch(38.58% 0.153 289.4)
XYZxyz(8.3075, 5.0561, 26.1241)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C8E #748E2C
analogous
#2C438E #462C8E #772C8E
triadic
#462C8E #8E462C #2C8E46
tetradic
#462C8E #8E2C43 #748E2C #2C8E77
square
#462C8E #8E2C43 #748E2C #2C8E77
split-complementary
#462C8E #8E772C #438E2C
monochromatic
#180F31 #2F1E5F #462C8E #5D3ABD #8165CF

Accessibility & contrast

On white

10.44
#462C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C8E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C8E#FFFFFF#000000##FFFFFF
##462C8E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#2D4459
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462c8e;
/* rgb */ color: rgb(70, 44, 142);
/* oklch */ color: oklch(38.6% 0.153 289.4);
Tailwind
colors: {
  custom: {
    50: '#8067b0',
    500: '#462c8e',
    950: '#000000',
  },
}
SCSS
$custom: #462c8e;
$custom-light: #8067b0;
$custom-dark: #000000;
JSON
{
  "hex": "#462c8e",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 255.918,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.153,
    "h": 289.4
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#462C8E
secondary
#9FB660
accent
#DC4CB6
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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