#462F76#462F76

#462F76 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.117 H 295.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#462F76
RGBrgb(70, 47, 118)
HSLhsl(259, 43%, 32%)
HSVhsv(259, 60%, 46%)
CMYKcmyk(40.7%, 60.2%, 0%, 53.7%)
CIE-LABlab(25.69, 27.98, -37.21)
CIE-LCHlch(25.69, 46.56, 306.93°)
OKLaboklab(37.12% 0.0494 -0.1058)
OKLCHoklch(37.12% 0.117 295)
XYZxyz(6.8115, 4.6430, 17.6733)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F76 #5F762F
analogous
#2F3B76 #462F76 #6A2F76
triadic
#462F76 #76462F #2F7646
tetradic
#462F76 #762F3B #5F762F #2F766A
square
#462F76 #762F3B #5F762F #2F766A
split-complementary
#462F76 #766A2F #3B762F
monochromatic
#120C1E #2C1E4A #462F76 #6040A2 #7F60C0

Accessibility & contrast

On white

10.89
#462F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F76
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F76#FFFFFF#000000##FFFFFF
##462F761.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#113C74
Tritanopia (blue-blind)
#3A3E4D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462f76;
/* rgb */ color: rgb(70, 47, 118);
/* oklch */ color: oklch(37.1% 0.117 295.0);
Tailwind
colors: {
  custom: {
    50: '#7d689e',
    500: '#462f76',
    950: '#000000',
  },
}
SCSS
$custom: #462f76;
$custom-light: #7d689e;
$custom-dark: #000000;
JSON
{
  "hex": "#462f76",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 259.437,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37119,
    "c": 0.11673,
    "h": 295
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#462F76
secondary
#8EA75A
accent
#D355AA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #462F76

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

Preview Lab → · Contrast checker → · Palette generator →

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