#462687#462687

#462687 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.152 H 292.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#462687
RGBrgb(70, 38, 135)
HSLhsl(260, 56%, 34%)
HSVhsv(260, 72%, 53%)
CMYKcmyk(48.1%, 71.9%, 0%, 47.1%)
CIE-LABlab(25.07, 38.31, -48.95)
CIE-LCHlch(25.07, 62.15, 308.05°)
OKLaboklab(37.09% 0.0582 -0.1402)
OKLCHoklch(37.09% 0.152 292.5)
XYZxyz(7.5909, 4.4373, 23.3735)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462687 #678726
analogous
#263787 #462687 #772687
triadic
#462687 #874626 #268746
tetradic
#462687 #872637 #678726 #268777
square
#462687 #872637 #678726 #268777
split-complementary
#462687 #877726 #378726
monochromatic
#140B27 #2D1957 #462687 #5F33B7 #7F58D0

Accessibility & contrast

On white

11.13
#462687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462687
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462687#FFFFFF#000000##FFFFFF
##4626871.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#323F53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462687;
/* rgb */ color: rgb(70, 38, 135);
/* oklch */ color: oklch(37.1% 0.152 292.5);
Tailwind
colors: {
  custom: {
    50: '#8063ab',
    500: '#462687',
    950: '#000000',
  },
}
SCSS
$custom: #462687;
$custom-light: #8063ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462687",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 259.794,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.15183,
    "h": 292.5
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#462687
secondary
#95B554
accent
#DF48AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462687

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

Preview Lab → · Contrast checker → · Palette generator →

#462687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva