#462B7F#462B7F

#462B7F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.135 H 293.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#462B7F
RGBrgb(70, 43, 127)
HSLhsl(259, 49%, 33%)
HSVhsv(259, 66%, 50%)
CMYKcmyk(44.9%, 66.1%, 0%, 50.2%)
CIE-LABlab(25.45, 33.09, -43.30)
CIE-LCHlch(25.45, 54.50, 307.39°)
OKLaboklab(37.16% 0.0539 -0.1237)
OKLCHoklch(37.16% 0.135 293.6)
XYZxyz(7.2194, 4.5620, 20.5747)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B7F #647F2B
analogous
#2B3A7F #462B7F #702B7F
triadic
#462B7F #7F462B #2B7F46
tetradic
#462B7F #7F2B3A #647F2B #2B7F70
square
#462B7F #7F2B3A #647F2B #2B7F70
split-complementary
#462B7F #7F702B #3A7F2B
monochromatic
#140C24 #2D1C51 #462B7F #5F3AAD #7F5CC8

Accessibility & contrast

On white

10.98
#462B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B7F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B7F#FFFFFF#000000##FFFFFF
##462B7F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#363F51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462b7f;
/* rgb */ color: rgb(70, 43, 127);
/* oklch */ color: oklch(37.2% 0.135 293.6);
Tailwind
colors: {
  custom: {
    50: '#7e66a5',
    500: '#462b7f',
    950: '#000000',
  },
}
SCSS
$custom: #462b7f;
$custom-light: #7e66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#462b7f",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 259.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.13492,
    "h": 293.6
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#462B7F
secondary
#92AE58
accent
#D94FAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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