#462394#462394

#462394 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 289.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#462394
RGBrgb(70, 35, 148)
HSLhsl(259, 62%, 36%)
HSVhsv(259, 76%, 58%)
CMYKcmyk(52.7%, 76.4%, 0%, 42%)
CIE-LABlab(25.69, 43.64, -56.00)
CIE-LCHlch(25.69, 71.00, 307.93°)
OKLaboklab(37.89% 0.0579 -0.1609)
OKLCHoklch(37.89% 0.171 289.8)
XYZxyz(8.4706, 4.6419, 28.4609)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462394 #719423
analogous
#233894 #462394 #7E2394
triadic
#462394 #944623 #239446
tetradic
#462394 #942338 #719423 #23947E
square
#462394 #942338 #719423 #23947E
split-complementary
#462394 #947E23 #389423
monochromatic
#170C31 #2F1763 #462394 #5D2FC5 #815AD8

Accessibility & contrast

On white

10.89
#462394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462394
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462394#FFFFFF#000000##FFFFFF
##4623941.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#2A425A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462394;
/* rgb */ color: rgb(70, 35, 148);
/* oklch */ color: oklch(37.9% 0.171 289.8);
Tailwind
colors: {
  custom: {
    50: '#8262b4',
    500: '#462394',
    950: '#000000',
  },
}
SCSS
$custom: #462394;
$custom-light: #8262b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462394",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 258.584,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37893,
    "c": 0.17103,
    "h": 289.8
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#462394
secondary
#9DBC57
accent
#E543B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462394

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

Preview Lab → · Contrast checker → · Palette generator →

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