#462A7E#462A7E

#462A7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.135 H 294.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#462A7E
RGBrgb(70, 42, 126)
HSLhsl(260, 50%, 33%)
HSVhsv(260, 67%, 49%)
CMYKcmyk(44.4%, 66.7%, 0%, 50.6%)
CIE-LABlab(25.15, 33.39, -43.16)
CIE-LCHlch(25.15, 54.57, 307.73°)
OKLaboklab(36.92% 0.0552 -0.1232)
OKLCHoklch(36.92% 0.135 294.1)
XYZxyz(7.1186, 4.4642, 20.2212)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A7E #627E2A
analogous
#2A387E #462A7E #702A7E
triadic
#462A7E #7E462A #2A7E46
tetradic
#462A7E #7E2A38 #627E2A #2A7E70
square
#462A7E #7E2A38 #627E2A #2A7E70
split-complementary
#462A7E #7E702A #387E2A
monochromatic
#130B22 #2C1B50 #462A7E #5F39AC #7F5AC8

Accessibility & contrast

On white

11.09
#462A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A7E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A7E#FFFFFF#000000##FFFFFF
##462A7E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462a7e;
/* rgb */ color: rgb(70, 42, 126);
/* oklch */ color: oklch(36.9% 0.135 294.1);
Tailwind
colors: {
  custom: {
    50: '#7e65a4',
    500: '#462a7e',
    950: '#000000',
  },
}
SCSS
$custom: #462a7e;
$custom-light: #7e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#462a7e",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 260,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36915,
    "c": 0.13503,
    "h": 294.1
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#462A7E
secondary
#90AE56
accent
#DA4EAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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