#462894#462894

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

Color values

HEX#462894
RGBrgb(70, 40, 148)
HSLhsl(257, 57%, 37%)
HSVhsv(257, 73%, 58%)
CMYKcmyk(52.7%, 73%, 0%, 42%)
CIE-LABlab(26.61, 41.04, -54.49)
CIE-LCHlch(26.61, 68.21, 306.99°)
OKLaboklab(38.55% 0.0536 -0.1565)
OKLCHoklch(38.55% 0.165 288.9)
XYZxyz(8.6283, 4.9574, 28.5135)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462894 #769428
analogous
#284094 #462894 #7C2894
triadic
#462894 #944628 #289446
tetradic
#462894 #942840 #769428 #28947C
square
#462894 #942840 #769428 #28947C
split-complementary
#462894 #947C28 #409428
monochromatic
#180E34 #2F1B64 #462894 #5D35C4 #8262D5

Accessibility & contrast

On white

10.54
#462894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#462894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462894
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462894#FFFFFF#000000##FFFFFF
##4628941.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#29455B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462894;
/* rgb */ color: rgb(70, 40, 148);
/* oklch */ color: oklch(38.5% 0.165 288.9);
Tailwind
colors: {
  custom: {
    50: '#8265b4',
    500: '#462894',
    950: '#000000',
  },
}
SCSS
$custom: #462894;
$custom-light: #8265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462894",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 256.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.16543,
    "h": 288.9
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#462894
secondary
#A0BA5E
accent
#E147B6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462894

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

Preview Lab → · Contrast checker → · Palette generator →

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