#462875#462875

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

Color values

HEX#462875
RGBrgb(70, 40, 117)
HSLhsl(263, 49%, 31%)
HSVhsv(263, 66%, 46%)
CMYKcmyk(40.2%, 65.8%, 0%, 54.1%)
CIE-LABlab(24.01, 31.95, -39.29)
CIE-LCHlch(24.01, 50.64, 309.12°)
OKLaboklab(35.87% 0.0585 -0.1119)
OKLCHoklch(35.87% 0.126 297.6)
XYZxyz(6.4946, 4.1039, 17.2761)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462875 #577528
analogous
#283075 #462875 #6C2875
triadic
#462875 #754628 #287546
tetradic
#462875 #752830 #577528 #28756C
square
#462875 #752830 #577528 #28756C
split-complementary
#462875 #756C28 #307528
monochromatic
#0F091A #2B1847 #462875 #6138A3 #7F53C4

Accessibility & contrast

On white

11.53
#462875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462875
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462875#FFFFFF#000000##FFFFFF
##4628751.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462875;
/* rgb */ color: rgb(70, 40, 117);
/* oklch */ color: oklch(35.9% 0.126 297.6);
Tailwind
colors: {
  custom: {
    50: '#7d649d',
    500: '#462875',
    950: '#000000',
  },
}
SCSS
$custom: #462875;
$custom-light: #7d649d;
$custom-dark: #000000;
JSON
{
  "hex": "#462875",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 263.377,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.12622,
    "h": 297.6
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#462875
secondary
#86A752
accent
#D94FA3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462875

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

Preview Lab → · Contrast checker → · Palette generator →

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