#462795#462795

#462795 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.168 H 288.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#462795
RGBrgb(70, 39, 149)
HSLhsl(257, 59%, 37%)
HSVhsv(257, 74%, 58%)
CMYKcmyk(53%, 73.8%, 0%, 41.6%)
CIE-LABlab(26.51, 41.87, -55.26)
CIE-LCHlch(26.51, 69.33, 307.15°)
OKLaboklab(38.5% 0.0543 -0.1588)
OKLCHoklch(38.5% 0.168 288.9)
XYZxyz(8.6745, 4.9227, 28.9210)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462795 #769527
analogous
#273F95 #462795 #7D2795
triadic
#462795 #954627 #279546
tetradic
#462795 #95273F #769527 #27957D
square
#462795 #95273F #769527 #27957D
split-complementary
#462795 #957D27 #3F9527
monochromatic
#180E34 #2F1A64 #462795 #5D34C6 #8261D6

Accessibility & contrast

On white

10.58
#462795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#462795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462795
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462795#FFFFFF#000000##FFFFFF
##4627951.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#28445B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462795;
/* rgb */ color: rgb(70, 39, 149);
/* oklch */ color: oklch(38.5% 0.168 288.9);
Tailwind
colors: {
  custom: {
    50: '#8264b5',
    500: '#462795',
    950: '#000000',
  },
}
SCSS
$custom: #462795;
$custom-light: #8264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462795",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 256.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38503,
    "c": 0.1678,
    "h": 288.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#462795
secondary
#A0BB5D
accent
#E246B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462795

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

Preview Lab → · Contrast checker → · Palette generator →

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