#462863#462863

#462863 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.102 H 305.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#462863
RGBrgb(70, 40, 99)
HSLhsl(271, 42%, 27%)
HSVhsv(271, 60%, 39%)
CMYKcmyk(29.3%, 59.6%, 0%, 61.2%)
CIE-LABlab(22.73, 26.90, -29.73)
CIE-LCHlch(22.73, 40.09, 312.14°)
OKLaboklab(34.52% 0.0589 -0.0838)
OKLCHoklch(34.52% 0.102 305.1)
XYZxyz(5.5362, 3.7206, 12.2284)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462863 #456328
analogous
#282863 #462863 #632863
triadic
#462863 #634628 #286346
tetradic
#462863 #632828 #456328 #286363
square
#462863 #632828 #456328 #286363
split-complementary
#462863 #636328 #286328
monochromatic
#0F0916 #271637 #462863 #653A8F #844EB7

Accessibility & contrast

On white

12.04
#462863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462863
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462863#FFFFFF#000000##FFFFFF
##4628631.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#1D3662
Tritanopia (blue-blind)
#413341
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462863;
/* rgb */ color: rgb(70, 40, 99);
/* oklch */ color: oklch(34.5% 0.102 305.1);
Tailwind
colors: {
  custom: {
    50: '#7c6390',
    500: '#462863',
    950: '#000000',
  },
}
SCSS
$custom: #462863;
$custom-light: #7c6390;
$custom-dark: #000000;
JSON
{
  "hex": "#462863",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 270.508,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.10242,
    "h": 305.1
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#462863
secondary
#739651
accent
#D25693
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #462863

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

Preview Lab → · Contrast checker → · Palette generator →

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