#462895#462895

#462895 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.167 H 288.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#462895
RGBrgb(70, 40, 149)
HSLhsl(257, 58%, 37%)
HSVhsv(257, 73%, 58%)
CMYKcmyk(53%, 73.2%, 0%, 41.6%)
CIE-LABlab(26.70, 41.33, -54.95)
CIE-LCHlch(26.70, 68.76, 306.95°)
OKLaboklab(38.64% 0.0534 -0.1579)
OKLCHoklch(38.64% 0.167 288.7)
XYZxyz(8.7078, 4.9892, 28.9321)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462895 #779528
analogous
#284095 #462895 #7D2895
triadic
#462895 #954628 #289546
tetradic
#462895 #952840 #779528 #28957D
square
#462895 #952840 #779528 #28957D
split-complementary
#462895 #957D28 #409528
monochromatic
#190E35 #2F1B65 #462895 #5D35C5 #8262D5

Accessibility & contrast

On white

10.51
#462895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#462895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462895
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462895#FFFFFF#000000##FFFFFF
##4628951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462895;
/* rgb */ color: rgb(70, 40, 149);
/* oklch */ color: oklch(38.6% 0.167 288.7);
Tailwind
colors: {
  custom: {
    50: '#8265b5',
    500: '#462895',
    950: '#000000',
  },
}
SCSS
$custom: #462895;
$custom-light: #8265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462895",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 256.514,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.16666,
    "h": 288.7
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#462895
secondary
#A1BB5E
accent
#E147B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462895

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

Preview Lab → · Contrast checker → · Palette generator →

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