#462F83#462F83

#462F83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.134 H 291.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#462F83
RGBrgb(70, 47, 131)
HSLhsl(256, 47%, 35%)
HSVhsv(256, 64%, 51%)
CMYKcmyk(46.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(26.66, 31.89, -43.85)
CIE-LCHlch(26.66, 54.22, 306.02°)
OKLaboklab(38.13% 0.0488 -0.1253)
OKLCHoklch(38.13% 0.134 291.3)
XYZxyz(7.6379, 4.9736, 22.0259)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F83 #6C832F
analogous
#2F4283 #462F83 #702F83
triadic
#462F83 #83462F #2F8346
tetradic
#462F83 #832F42 #6C832F #2F8370
square
#462F83 #832F42 #6C832F #2F8370
split-complementary
#462F83 #83702F #42832F
monochromatic
#160F29 #2E1F56 #462F83 #5E3FB0 #8065C8

Accessibility & contrast

On white

10.53
#462F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#462F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F83
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F83#FFFFFF#000000##FFFFFF
##462F831.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#344254
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462f83;
/* rgb */ color: rgb(70, 47, 131);
/* oklch */ color: oklch(38.1% 0.134 291.3);
Tailwind
colors: {
  custom: {
    50: '#7f69a8',
    500: '#462f83',
    950: '#000000',
  },
}
SCSS
$custom: #462f83;
$custom-light: #7f69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462f83",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 256.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.13447,
    "h": 291.3
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#462F83
secondary
#99AF5F
accent
#D751B2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #462F83

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

Preview Lab → · Contrast checker → · Palette generator →

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