#462B7D#462B7D

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

Color values

HEX#462B7D
RGBrgb(70, 43, 125)
HSLhsl(260, 49%, 33%)
HSVhsv(260, 66%, 49%)
CMYKcmyk(44%, 65.6%, 0%, 51%)
CIE-LABlab(25.29, 32.50, -42.30)
CIE-LCHlch(25.29, 53.34, 307.54°)
OKLaboklab(36.99% 0.0541 -0.1207)
OKLCHoklch(36.99% 0.132 294.1)
XYZxyz(7.0903, 4.5103, 19.8951)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B7D #627D2B
analogous
#2B397D #462B7D #6F2B7D
triadic
#462B7D #7D462B #2B7D46
tetradic
#462B7D #7D2B39 #627D2B #2B7D6F
square
#462B7D #7D2B39 #627D2B #2B7D6F
split-complementary
#462B7D #7D6F2B #397D2B
monochromatic
#130C22 #2C1B4F #462B7D #5F3BAB #7F5CC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462B7D#FFFFFF#000000##FFFFFF
##462B7D1.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)
#003D80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462b7d;
/* rgb */ color: rgb(70, 43, 125);
/* oklch */ color: oklch(37.0% 0.132 294.1);
Tailwind
colors: {
  custom: {
    50: '#7e66a3',
    500: '#462b7d',
    950: '#000000',
  },
}
SCSS
$custom: #462b7d;
$custom-light: #7e66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#462b7d",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 259.756,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36993,
    "c": 0.13228,
    "h": 294.1
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#462B7D
secondary
#90AD57
accent
#D84FAB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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