#462791#462791

#462791 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.163 H 289.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#462791
RGBrgb(70, 39, 145)
HSLhsl(258, 58%, 36%)
HSVhsv(258, 73%, 57%)
CMYKcmyk(51.7%, 73.1%, 0%, 43.1%)
CIE-LABlab(26.15, 40.69, -53.39)
CIE-LCHlch(26.15, 67.13, 307.31°)
OKLaboklab(38.13% 0.0552 -0.1533)
OKLCHoklch(38.13% 0.163 289.8)
XYZxyz(8.3607, 4.7971, 27.2680)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462791 #729127
analogous
#273D91 #462791 #7B2791
triadic
#462791 #914627 #279146
tetradic
#462791 #91273D #729127 #27917B
square
#462791 #91273D #729127 #27917B
split-complementary
#462791 #917B27 #3D9127
monochromatic
#170D31 #2F1A61 #462791 #5D34C1 #815FD4

Accessibility & contrast

On white

10.72
#462791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#462791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462791
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462791#FFFFFF#000000##FFFFFF
##4627911.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#2C4359
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462791;
/* rgb */ color: rgb(70, 39, 145);
/* oklch */ color: oklch(38.1% 0.163 289.8);
Tailwind
colors: {
  custom: {
    50: '#8164b2',
    500: '#462791',
    950: '#000000',
  },
}
SCSS
$custom: #462791;
$custom-light: #8164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462791",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 257.547,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.16293,
    "h": 289.8
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#462791
secondary
#9EB95B
accent
#E147B4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462791

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

Preview Lab → · Contrast checker → · Palette generator →

#462791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva