#462D94#462D94

#462D94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.159 H 287.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#462D94
RGBrgb(70, 45, 148)
HSLhsl(255, 53%, 38%)
HSVhsv(255, 70%, 58%)
CMYKcmyk(52.7%, 69.6%, 0%, 42%)
CIE-LABlab(27.62, 38.25, -52.84)
CIE-LCHlch(27.62, 65.23, 305.90°)
OKLaboklab(39.26% 0.0489 -0.1517)
OKLCHoklch(39.26% 0.159 287.9)
XYZxyz(8.8079, 5.3166, 28.5733)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D94 #7B942D
analogous
#2D4794 #462D94 #792D94
triadic
#462D94 #94462D #2D9446
tetradic
#462D94 #942D47 #7B942D #2D9479
square
#462D94 #942D47 #7B942D #2D9479
split-complementary
#462D94 #94792D #47942D
monochromatic
#1A1036 #301F65 #462D94 #5C3BC3 #836AD2

Accessibility & contrast

On white

10.18
#462D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#462D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D94
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D94#FFFFFF#000000##FFFFFF
##462D941.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#29475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462d94;
/* rgb */ color: rgb(70, 45, 148);
/* oklch */ color: oklch(39.3% 0.159 287.9);
Tailwind
colors: {
  custom: {
    50: '#8168b4',
    500: '#462d94',
    950: '#000000',
  },
}
SCSS
$custom: #462d94;
$custom-light: #8168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462d94",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 254.563,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.15938,
    "h": 287.9
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#462D94
secondary
#A4B864
accent
#DD4BB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462D94

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

Preview Lab → · Contrast checker → · Palette generator →

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