#462665#462665

#462665 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.3% C 0.108 H 304.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#462665
RGBrgb(70, 38, 101)
HSLhsl(270, 45%, 27%)
HSVhsv(270, 62%, 40%)
CMYKcmyk(30.7%, 62.4%, 0%, 60.4%)
CIE-LABlab(22.40, 28.66, -31.55)
CIE-LCHlch(22.40, 42.62, 312.25°)
OKLaboklab(34.33% 0.0618 -0.0891)
OKLCHoklch(34.33% 0.108 304.8)
XYZxyz(5.5673, 3.6279, 12.7164)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462665 #456526
analogous
#262665 #462665 #652665
triadic
#462665 #654626 #266546
tetradic
#462665 #652626 #456526 #266565
square
#462665 #652626 #456526 #266565
split-complementary
#462665 #656526 #266526
monochromatic
#0F0816 #271539 #462665 #653791 #844ABB

Accessibility & contrast

On white

12.17
#462665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#462665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462665
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462665#FFFFFF#000000##FFFFFF
##4626651.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3567
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#413241
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462665;
/* rgb */ color: rgb(70, 38, 101);
/* oklch */ color: oklch(34.3% 0.108 304.8);
Tailwind
colors: {
  custom: {
    50: '#7c6291',
    500: '#462665',
    950: '#000000',
  },
}
SCSS
$custom: #462665;
$custom-light: #7c6291;
$custom-dark: #000000;
JSON
{
  "hex": "#462665",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 270.476,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34325,
    "c": 0.10848,
    "h": 304.8
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#462665
secondary
#73984F
accent
#D55393
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050D
muted
#7C797D

Preview Lab

Preview with #462665

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

Preview Lab → · Contrast checker → · Palette generator →

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