#462467#462467

#462467 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.2% C 0.114 H 304.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#462467
RGBrgb(70, 36, 103)
HSLhsl(270, 48%, 27%)
HSVhsv(270, 65%, 40%)
CMYKcmyk(32%, 65%, 0%, 59.6%)
CIE-LABlab(22.10, 30.39, -33.34)
CIE-LCHlch(22.10, 45.11, 312.35°)
OKLaboklab(34.15% 0.0646 -0.0944)
OKLCHoklch(34.15% 0.114 304.4)
XYZxyz(5.6043, 3.5431, 13.2180)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462467 #456724
analogous
#252467 #462467 #672466
triadic
#462467 #674624 #246746
tetradic
#462467 #672524 #456724 #246667
square
#462467 #672524 #456724 #246667
split-complementary
#462467 #666724 #246725
monochromatic
#0F0817 #27143A #462467 #653494 #8447BF

Accessibility & contrast

On white

12.29
#462467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#462467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462467
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462467#FFFFFF#000000##FFFFFF
##4624671.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#403242
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462467;
/* rgb */ color: rgb(70, 36, 103);
/* oklch */ color: oklch(34.2% 0.114 304.4);
Tailwind
colors: {
  custom: {
    50: '#7c6193',
    500: '#462467',
    950: '#000000',
  },
}
SCSS
$custom: #462467;
$custom-light: #7c6193;
$custom-dark: #000000;
JSON
{
  "hex": "#462467",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 270.448,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.11435,
    "h": 304.4
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#462467
secondary
#739A4C
accent
#D85093
background
#F7F5F9
surface
#EEEAF1
border
#C9C6CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462467

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

Preview Lab → · Contrast checker → · Palette generator →

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