#462D77#462D77

#462D77 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.8% C 0.121 H 295.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#462D77
RGBrgb(70, 45, 119)
HSLhsl(260, 45%, 32%)
HSVhsv(260, 62%, 47%)
CMYKcmyk(41.2%, 62.2%, 0%, 53.3%)
CIE-LABlab(25.29, 29.51, -38.49)
CIE-LCHlch(25.29, 48.51, 307.48°)
OKLaboklab(36.85% 0.052 -0.1095)
OKLCHoklch(36.85% 0.121 295.4)
XYZxyz(6.7931, 4.5106, 17.9619)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D77 #5E772D
analogous
#2D3977 #462D77 #6B2D77
triadic
#462D77 #77462D #2D7746
tetradic
#462D77 #772D39 #5E772D #2D776B
square
#462D77 #772D39 #5E772D #2D776B
split-complementary
#462D77 #776B2D #39772D
monochromatic
#120B1E #2C1C4B #462D77 #603EA3 #7F5DC2

Accessibility & contrast

On white

11.04
#462D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#462D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D77
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D77#FFFFFF#000000##FFFFFF
##462D771.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#0A3B75
Tritanopia (blue-blind)
#3A3D4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462d77;
/* rgb */ color: rgb(70, 45, 119);
/* oklch */ color: oklch(36.8% 0.121 295.4);
Tailwind
colors: {
  custom: {
    50: '#7d679f',
    500: '#462d77',
    950: '#000000',
  },
}
SCSS
$custom: #462d77;
$custom-light: #7d679f;
$custom-dark: #000000;
JSON
{
  "hex": "#462d77",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 260.27,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.12124,
    "h": 295.4
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#462D77
secondary
#8DA858
accent
#D553A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #462D77

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

Preview Lab → · Contrast checker → · Palette generator →

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