#462865#462865

#462865 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.7% C 0.105 H 304.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#462865
RGBrgb(70, 40, 101)
HSLhsl(270, 43%, 28%)
HSVhsv(270, 60%, 40%)
CMYKcmyk(30.7%, 60.4%, 0%, 60.4%)
CIE-LABlab(22.86, 27.44, -30.82)
CIE-LCHlch(22.86, 41.27, 311.69°)
OKLaboklab(34.66% 0.059 -0.087)
OKLCHoklch(34.66% 0.105 304.1)
XYZxyz(5.6330, 3.7593, 12.7382)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462865 #476528
analogous
#282965 #462865 #642865
triadic
#462865 #654628 #286546
tetradic
#462865 #652829 #476528 #286564
square
#462865 #652829 #476528 #286564
split-complementary
#462865 #656428 #296528
monochromatic
#0F0916 #281739 #462865 #643991 #834EB9

Accessibility & contrast

On white

11.99
#462865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#462865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462865
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462865#FFFFFF#000000##FFFFFF
##4628651.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103667
Deuteranopia (green-blind)
#1B3764
Tritanopia (blue-blind)
#403442
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462865;
/* rgb */ color: rgb(70, 40, 101);
/* oklch */ color: oklch(34.7% 0.105 304.1);
Tailwind
colors: {
  custom: {
    50: '#7c6391',
    500: '#462865',
    950: '#000000',
  },
}
SCSS
$custom: #462865;
$custom-light: #7c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#462865",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 269.508,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.10509,
    "h": 304.1
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#462865
secondary
#759851
accent
#D35595
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A050D
muted
#7C7A7D

Preview Lab

Preview with #462865

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

Preview Lab → · Contrast checker → · Palette generator →

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