#462F86#462F86

#462F86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.138 H 290.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#462F86
RGBrgb(70, 47, 134)
HSLhsl(256, 48%, 35%)
HSVhsv(256, 65%, 53%)
CMYKcmyk(47.8%, 64.9%, 0%, 47.5%)
CIE-LABlab(26.89, 32.80, -45.35)
CIE-LCHlch(26.89, 55.97, 305.88°)
OKLaboklab(38.38% 0.0486 -0.1297)
OKLCHoklch(38.38% 0.138 290.5)
XYZxyz(7.8442, 5.0561, 23.1122)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F86 #6F862F
analogous
#2F4386 #462F86 #712F86
triadic
#462F86 #86462F #2F8646
tetradic
#462F86 #862F43 #6F862F #2F8671
square
#462F86 #862F43 #6F862F #2F8671
split-complementary
#462F86 #86712F #43862F
monochromatic
#170F2B #2E1F59 #462F86 #5E3FB3 #8066C9

Accessibility & contrast

On white

10.44
#462F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462F86
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F86#FFFFFF#000000##FFFFFF
##462F861.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#324356
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462f86;
/* rgb */ color: rgb(70, 47, 134);
/* oklch */ color: oklch(38.4% 0.138 290.5);
Tailwind
colors: {
  custom: {
    50: '#7f69aa',
    500: '#462f86',
    950: '#000000',
  },
}
SCSS
$custom: #462f86;
$custom-light: #7f69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#462f86",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 255.862,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.13849,
    "h": 290.5
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#462F86
secondary
#9BB060
accent
#D850B4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462F86

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

Preview Lab → · Contrast checker → · Palette generator →

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