#462195#462195

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

Color values

HEX#462195
RGBrgb(70, 33, 149)
HSLhsl(259, 64%, 36%)
HSVhsv(259, 78%, 58%)
CMYKcmyk(53%, 77.9%, 0%, 41.6%)
CIE-LABlab(25.44, 44.91, -57.02)
CIE-LCHlch(25.44, 72.58, 308.22°)
OKLaboklab(37.75% 0.0593 -0.1639)
OKLCHoklch(37.75% 0.174 289.9)
XYZxyz(8.4929, 4.5594, 28.8605)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462195 #709521
analogous
#213695 #462195 #802195
triadic
#462195 #954621 #219546
tetradic
#462195 #952136 #709521 #219580
square
#462195 #952136 #709521 #219580
split-complementary
#462195 #958021 #369521
monochromatic
#170B31 #2E1663 #462195 #5E2CC7 #8057DA

Accessibility & contrast

On white

10.98
#462195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462195
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462195#FFFFFF#000000##FFFFFF
##4621951.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#29425A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462195;
/* rgb */ color: rgb(70, 33, 149);
/* oklch */ color: oklch(37.7% 0.174 289.9);
Tailwind
colors: {
  custom: {
    50: '#8261b5',
    500: '#462195',
    950: '#000000',
  },
}
SCSS
$custom: #462195;
$custom-light: #8261b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462195",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 259.138,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.17428,
    "h": 289.9
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#462195
secondary
#9CBE54
accent
#E741B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462195

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

Preview Lab → · Contrast checker → · Palette generator →

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