#462293#462293

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

Color values

HEX#462293
RGBrgb(70, 34, 147)
HSLhsl(259, 62%, 35%)
HSVhsv(259, 77%, 58%)
CMYKcmyk(52.4%, 76.9%, 0%, 42.4%)
CIE-LABlab(25.42, 43.85, -55.82)
CIE-LCHlch(25.42, 70.99, 308.15°)
OKLaboklab(37.67% 0.059 -0.1604)
OKLCHoklch(37.67% 0.171 290.2)
XYZxyz(8.3628, 4.5524, 28.0362)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462293 #6F9322
analogous
#223693 #462293 #7E2293
triadic
#462293 #934622 #229346
tetradic
#462293 #932236 #6F9322 #22937E
square
#462293 #932236 #6F9322 #22937E
split-complementary
#462293 #937E22 #369322
monochromatic
#170B30 #2E1761 #462293 #5E2DC5 #8057D8

Accessibility & contrast

On white

10.99
#462293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462293
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462293#FFFFFF#000000##FFFFFF
##4622931.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#2A4159
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462293;
/* rgb */ color: rgb(70, 34, 147);
/* oklch */ color: oklch(37.7% 0.171 290.2);
Tailwind
colors: {
  custom: {
    50: '#8261b4',
    500: '#462293',
    950: '#000000',
  },
}
SCSS
$custom: #462293;
$custom-light: #8261b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462293",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 259.115,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37675,
    "c": 0.17091,
    "h": 290.2
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#462293
secondary
#9BBC55
accent
#E542B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462293

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

Preview Lab → · Contrast checker → · Palette generator →

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