#462C7B#462C7B

#462C7B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.128 H 294.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#462C7B
RGBrgb(70, 44, 123)
HSLhsl(260, 47%, 33%)
HSVhsv(260, 64%, 48%)
CMYKcmyk(43.1%, 64.2%, 0%, 51.8%)
CIE-LABlab(25.36, 31.31, -40.92)
CIE-LCHlch(25.36, 51.52, 307.42°)
OKLaboklab(36.99% 0.053 -0.1167)
OKLCHoklch(36.99% 0.128 294.4)
XYZxyz(7.0007, 4.5333, 19.2412)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C7B #617B2C
analogous
#2C397B #462C7B #6D2C7B
triadic
#462C7B #7B462C #2C7B46
tetradic
#462C7B #7B2C39 #617B2C #2C7B6D
square
#462C7B #7B2C39 #617B2C #2C7B6D
split-complementary
#462C7B #7B6D2C #397B2C
monochromatic
#130C21 #2C1C4E #462C7B #603CA8 #7F5DC5

Accessibility & contrast

On white

11.01
#462C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462C7B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C7B#FFFFFF#000000##FFFFFF
##462C7B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#383E4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462c7b;
/* rgb */ color: rgb(70, 44, 123);
/* oklch */ color: oklch(37.0% 0.128 294.4);
Tailwind
colors: {
  custom: {
    50: '#7e66a2',
    500: '#462c7b',
    950: '#000000',
  },
}
SCSS
$custom: #462c7b;
$custom-light: #7e66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#462c7b",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 259.747,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.12815,
    "h": 294.4
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#462C7B
secondary
#90AB58
accent
#D751AB
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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