#462890#462890

#462890 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.161 H 289.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#462890
RGBrgb(70, 40, 144)
HSLhsl(257, 57%, 36%)
HSVhsv(257, 72%, 56%)
CMYKcmyk(51.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(26.25, 39.85, -52.61)
CIE-LCHlch(26.25, 66.00, 307.15°)
OKLaboklab(38.18% 0.0544 -0.151)
OKLCHoklch(38.18% 0.161 289.8)
XYZxyz(8.3172, 4.8329, 26.8748)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462890 #729028
analogous
#283E90 #462890 #7A2890
triadic
#462890 #904628 #289046
tetradic
#462890 #90283E #729028 #28907A
square
#462890 #90283E #729028 #28907A
split-complementary
#462890 #907A28 #3E9028
monochromatic
#170D30 #2F1B60 #462890 #5D35C0 #8160D3

Accessibility & contrast

On white

10.68
#462890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#462890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462890
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462890#FFFFFF#000000##FFFFFF
##4628901.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#2C4359
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462890;
/* rgb */ color: rgb(70, 40, 144);
/* oklch */ color: oklch(38.2% 0.161 289.8);
Tailwind
colors: {
  custom: {
    50: '#8165b1',
    500: '#462890',
    950: '#000000',
  },
}
SCSS
$custom: #462890;
$custom-light: #8165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462890",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 257.308,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.16051,
    "h": 289.8
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#462890
secondary
#9EB85C
accent
#E048B4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462890

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

Preview Lab → · Contrast checker → · Palette generator →

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