#462E8F#462E8F

#462E8F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.152 H 288.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#462E8F
RGBrgb(70, 46, 143)
HSLhsl(255, 51%, 37%)
HSVhsv(255, 68%, 56%)
CMYKcmyk(51%, 67.8%, 0%, 43.9%)
CIE-LABlab(27.40, 36.15, -50.11)
CIE-LCHlch(27.40, 61.79, 305.81°)
OKLaboklab(38.98% 0.0487 -0.1437)
OKLCHoklch(38.98% 0.152 288.7)
XYZxyz(8.4593, 5.2389, 26.5468)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E8F #778F2E
analogous
#2E478F #462E8F #772E8F
triadic
#462E8F #8F462E #2E8F46
tetradic
#462E8F #8F2E47 #778F2E #2E8F77
square
#462E8F #8F2E47 #778F2E #2E8F77
split-complementary
#462E8F #8F772E #478F2E
monochromatic
#191032 #2F1F61 #462E8F #5D3DBD #8269CF

Accessibility & contrast

On white

10.25
#462E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#462E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E8F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E8F#FFFFFF#000000##FFFFFF
##462E8F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#2C465A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462e8f;
/* rgb */ color: rgb(70, 46, 143);
/* oklch */ color: oklch(39.0% 0.152 288.7);
Tailwind
colors: {
  custom: {
    50: '#8068b1',
    500: '#462e8f',
    950: '#000000',
  },
}
SCSS
$custom: #462e8f;
$custom-light: #8068b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462e8f",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 254.845,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.15169,
    "h": 288.7
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#462E8F
secondary
#A1B663
accent
#DB4DB8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#462E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva