#462679#462679

#462679 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.134 H 296.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#462679
RGBrgb(70, 38, 121)
HSLhsl(263, 52%, 31%)
HSVhsv(263, 69%, 47%)
CMYKcmyk(42.1%, 68.6%, 0%, 52.5%)
CIE-LABlab(23.90, 34.26, -42.02)
CIE-LCHlch(23.90, 54.22, 309.19°)
OKLaboklab(35.89% 0.0605 -0.1199)
OKLCHoklch(35.89% 0.134 296.8)
XYZxyz(6.6692, 4.0687, 18.5194)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462679 #597926
analogous
#262F79 #462679 #6F2679
triadic
#462679 #794626 #267946
tetradic
#462679 #79262F #597926 #26796F
square
#462679 #79262F #597926 #26796F
split-complementary
#462679 #796F26 #2F7926
monochromatic
#10091C #2B174A #462679 #6135A8 #7F51C8

Accessibility & contrast

On white

11.58
#462679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#462679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462679
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462679#FFFFFF#000000##FFFFFF
##4626791.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#39394C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462679;
/* rgb */ color: rgb(70, 38, 121);
/* oklch */ color: oklch(35.9% 0.134 296.8);
Tailwind
colors: {
  custom: {
    50: '#7e62a0',
    500: '#462679',
    950: '#000000',
  },
}
SCSS
$custom: #462679;
$custom-light: #7e62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462679",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 263.133,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35886,
    "c": 0.13429,
    "h": 296.8
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#462679
secondary
#88AB50
accent
#DC4CA4
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462679

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

Preview Lab → · Contrast checker → · Palette generator →

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