#462A9C#462A9C

#462A9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.173 H 286.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#462A9C
RGBrgb(70, 42, 156)
HSLhsl(255, 58%, 39%)
HSVhsv(255, 73%, 61%)
CMYKcmyk(55.1%, 73.1%, 0%, 38.8%)
CIE-LABlab(27.73, 42.34, -57.56)
CIE-LCHlch(27.73, 71.45, 306.34°)
OKLaboklab(39.56% 0.0501 -0.1655)
OKLCHoklch(39.56% 0.173 286.8)
XYZxyz(9.3527, 5.3578, 31.9874)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A9C #809C2A
analogous
#2A479C #462A9C #7F2A9C
triadic
#462A9C #9C462A #2A9C46
tetradic
#462A9C #9C2A47 #809C2A #2A9C7F
square
#462A9C #9C2A47 #809C2A #2A9C7F
split-complementary
#462A9C #9C7F2A #479C2A
monochromatic
#1B103C #301D6C #462A9C #5D39CA #846AD7

Accessibility & contrast

On white

10.14
#462A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#462A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A9C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A9C#FFFFFF#000000##FFFFFF
##462A9C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#224960
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462a9c;
/* rgb */ color: rgb(70, 42, 156);
/* oklch */ color: oklch(39.6% 0.173 286.8);
Tailwind
colors: {
  custom: {
    50: '#8366ba',
    500: '#462a9c',
    950: '#000000',
  },
}
SCSS
$custom: #462a9c;
$custom-light: #8366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#462a9c",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 254.737,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.17294,
    "h": 286.8
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#462A9C
secondary
#A7BD65
accent
#E147BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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