#462D9C#462D9C

#462D9C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.169 H 286.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#462D9C
RGBrgb(70, 45, 156)
HSLhsl(254, 55%, 39%)
HSVhsv(254, 71%, 61%)
CMYKcmyk(55.1%, 71.2%, 0%, 38.8%)
CIE-LABlab(28.32, 40.69, -56.59)
CIE-LCHlch(28.32, 69.70, 305.72°)
OKLaboklab(39.99% 0.0475 -0.1627)
OKLCHoklch(39.99% 0.169 286.3)
XYZxyz(9.4631, 5.5787, 32.0242)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D9C #839C2D
analogous
#2D4B9C #462D9C #7E2D9C
triadic
#462D9C #9C462D #2D9C46
tetradic
#462D9C #9C2D4B #839C2D #2D9C7E
square
#462D9C #9C2D4B #839C2D #2D9C7E
split-complementary
#462D9C #9C7E2D #4B9C2D
monochromatic
#1B123D #311F6D #462D9C #5E3FC8 #856ED5

Accessibility & contrast

On white

9.93
#462D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#462D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D9C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D9C#FFFFFF#000000##FFFFFF
##462D9C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#214A61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462d9c;
/* rgb */ color: rgb(70, 45, 156);
/* oklch */ color: oklch(40.0% 0.169 286.3);
Tailwind
colors: {
  custom: {
    50: '#8368ba',
    500: '#462d9c',
    950: '#000000',
  },
}
SCSS
$custom: #462d9c;
$custom-light: #8368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#462d9c",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 253.514,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.16947,
    "h": 286.3
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#462D9C
secondary
#A9BC68
accent
#DF49BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #462D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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