#462D8E#462D8E

#462D8E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.152 H 289.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#462D8E
RGBrgb(70, 45, 142)
HSLhsl(255, 52%, 37%)
HSVhsv(255, 68%, 56%)
CMYKcmyk(50.7%, 68.3%, 0%, 44.3%)
CIE-LABlab(27.11, 36.43, -49.98)
CIE-LCHlch(27.11, 61.84, 306.09°)
OKLaboklab(38.74% 0.0498 -0.1433)
OKLCHoklch(38.74% 0.152 289.2)
XYZxyz(8.3453, 5.1315, 26.1367)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D8E #758E2D
analogous
#2D458E #462D8E #772D8E
triadic
#462D8E #8E462D #2D8E46
tetradic
#462D8E #8E2D45 #758E2D #2D8E77
square
#462D8E #8E2D45 #758E2D #2D8E77
split-complementary
#462D8E #8E772D #458E2D
monochromatic
#181031 #2F1E60 #462D8E #5D3CBC #8167CF

Accessibility & contrast

On white

10.36
#462D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#462D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D8E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D8E#FFFFFF#000000##FFFFFF
##462D8E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#2D4559
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462d8e;
/* rgb */ color: rgb(70, 45, 142);
/* oklch */ color: oklch(38.7% 0.152 289.2);
Tailwind
colors: {
  custom: {
    50: '#8068b0',
    500: '#462d8e',
    950: '#000000',
  },
}
SCSS
$custom: #462d8e;
$custom-light: #8068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#462d8e",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 255.464,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.15171,
    "h": 289.2
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#462D8E
secondary
#A0B561
accent
#DB4CB7
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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