#462F92#462F92

#462F92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.154 H 287.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#462F92
RGBrgb(70, 47, 146)
HSLhsl(254, 51%, 38%)
HSVhsv(254, 68%, 57%)
CMYKcmyk(52.1%, 67.8%, 0%, 42.7%)
CIE-LABlab(27.87, 36.48, -51.20)
CIE-LCHlch(27.87, 62.86, 305.47°)
OKLaboklab(39.39% 0.0472 -0.1469)
OKLCHoklch(39.39% 0.154 287.8)
XYZxyz(8.7291, 5.4100, 27.7728)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F92 #7B922F
analogous
#2F4A92 #462F92 #772F92
triadic
#462F92 #92462F #2F9246
tetradic
#462F92 #922F4A #7B922F #2F9277
square
#462F92 #922F4A #7B922F #2F9277
split-complementary
#462F92 #92772F #4A922F
monochromatic
#1A1135 #302064 #462F92 #5C3EC0 #836CD0

Accessibility & contrast

On white

10.09
#462F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#462F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F92
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F92#FFFFFF#000000##FFFFFF
##462F921.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#2A485C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462f92;
/* rgb */ color: rgb(70, 47, 146);
/* oklch */ color: oklch(39.4% 0.154 287.8);
Tailwind
colors: {
  custom: {
    50: '#8169b3',
    500: '#462f92',
    950: '#000000',
  },
}
SCSS
$custom: #462f92;
$custom-light: #8169b3;
$custom-dark: #000000;
JSON
{
  "hex": "#462f92",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 253.939,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.15428,
    "h": 287.8
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#462F92
secondary
#A4B766
accent
#DB4DBA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462F92

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

Preview Lab → · Contrast checker → · Palette generator →

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