#462495#462495

#462495 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.171 H 289.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#462495
RGBrgb(70, 36, 149)
HSLhsl(258, 61%, 36%)
HSVhsv(258, 76%, 58%)
CMYKcmyk(53%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.96, 43.43, -56.17)
CIE-LCHlch(25.96, 71.00, 307.71°)
OKLaboklab(38.11% 0.0568 -0.1614)
OKLCHoklch(38.11% 0.171 289.4)
XYZxyz(8.5799, 4.7334, 28.8895)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462495 #739524
analogous
#243B95 #462495 #7F2495
triadic
#462495 #954624 #249546
tetradic
#462495 #95243B #739524 #24957F
square
#462495 #95243B #739524 #24957F
split-complementary
#462495 #957F24 #3B9524
monochromatic
#180C32 #2F1864 #462495 #5D30C6 #815CD8

Accessibility & contrast

On white

10.79
#462495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462495
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462495#FFFFFF#000000##FFFFFF
##4624951.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#29435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462495;
/* rgb */ color: rgb(70, 36, 149);
/* oklch */ color: oklch(38.1% 0.171 289.4);
Tailwind
colors: {
  custom: {
    50: '#8262b5',
    500: '#462495',
    950: '#000000',
  },
}
SCSS
$custom: #462495;
$custom-light: #8262b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462495",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 258.053,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.17113,
    "h": 289.4
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#462495
secondary
#9EBC59
accent
#E444B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462495

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

Preview Lab → · Contrast checker → · Palette generator →

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