#462F85#462F85

#462F85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.137 H 290.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#462F85
RGBrgb(70, 47, 133)
HSLhsl(256, 48%, 35%)
HSVhsv(256, 65%, 52%)
CMYKcmyk(47.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(26.82, 32.50, -44.85)
CIE-LCHlch(26.82, 55.39, 305.93°)
OKLaboklab(38.3% 0.0487 -0.1282)
OKLCHoklch(38.3% 0.137 290.8)
XYZxyz(7.7748, 5.0283, 22.7467)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F85 #6E852F
analogous
#2F4385 #462F85 #712F85
triadic
#462F85 #85462F #2F8546
tetradic
#462F85 #852F43 #6E852F #2F8571
square
#462F85 #852F43 #6E852F #2F8571
split-complementary
#462F85 #85712F #43852F
monochromatic
#160F2B #2E1F58 #462F85 #5E3FB2 #8066C9

Accessibility & contrast

On white

10.47
#462F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F85
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F85#FFFFFF#000000##FFFFFF
##462F851.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#334355
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462f85;
/* rgb */ color: rgb(70, 47, 133);
/* oklch */ color: oklch(38.3% 0.137 290.8);
Tailwind
colors: {
  custom: {
    50: '#7f69a9',
    500: '#462f85',
    950: '#000000',
  },
}
SCSS
$custom: #462f85;
$custom-light: #7f69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462f85",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 256.047,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.13716,
    "h": 290.8
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#462F85
secondary
#9AB060
accent
#D750B3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #462F85

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

Preview Lab → · Contrast checker → · Palette generator →

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