#462775#462775

#462775 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.128 H 297.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#462775
RGBrgb(70, 39, 117)
HSLhsl(264, 50%, 31%)
HSVhsv(264, 67%, 46%)
CMYKcmyk(40.2%, 66.7%, 0%, 54.1%)
CIE-LABlab(23.79, 32.53, -39.64)
CIE-LCHlch(23.79, 51.28, 309.38°)
OKLaboklab(35.71% 0.0597 -0.1129)
OKLCHoklch(35.71% 0.128 297.9)
XYZxyz(6.4614, 4.0374, 17.2650)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462775 #567527
analogous
#272F75 #462775 #6D2775
triadic
#462775 #754627 #277546
tetradic
#462775 #75272F #567527 #27756D
square
#462775 #75272F #567527 #27756D
split-complementary
#462775 #756D27 #2F7527
monochromatic
#0F0819 #2B1847 #462775 #6136A3 #7F51C5

Accessibility & contrast

On white

11.62
#462775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462775
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462775#FFFFFF#000000##FFFFFF
##4627751.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#3B394A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462775;
/* rgb */ color: rgb(70, 39, 117);
/* oklch */ color: oklch(35.7% 0.128 297.9);
Tailwind
colors: {
  custom: {
    50: '#7d639d',
    500: '#462775',
    950: '#000000',
  },
}
SCSS
$custom: #462775;
$custom-light: #7d639d;
$custom-dark: #000000;
JSON
{
  "hex": "#462775",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 263.846,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35712,
    "c": 0.12771,
    "h": 297.9
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#462775
secondary
#85A751
accent
#DA4EA2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462775

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

Preview Lab → · Contrast checker → · Palette generator →

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