#462674#462674

#462674 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.128 H 298.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#462674
RGBrgb(70, 38, 116)
HSLhsl(265, 51%, 30%)
HSVhsv(265, 67%, 45%)
CMYKcmyk(39.7%, 67.2%, 0%, 54.5%)
CIE-LABlab(23.50, 32.83, -39.47)
CIE-LCHlch(23.50, 51.34, 309.75°)
OKLaboklab(35.48% 0.061 -0.1124)
OKLCHoklch(35.48% 0.128 298.5)
XYZxyz(6.3705, 3.9492, 16.9462)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462674 #547426
analogous
#262D74 #462674 #6D2674
triadic
#462674 #744626 #267446
tetradic
#462674 #74262D #547426 #26746D
square
#462674 #74262D #547426 #26746D
split-complementary
#462674 #746D26 #2D7426
monochromatic
#0E0818 #2A1746 #462674 #6235A2 #804FC5

Accessibility & contrast

On white

11.73
#462674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#462674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462674
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462674#FFFFFF#000000##FFFFFF
##4626741.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#3B3849
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462674;
/* rgb */ color: rgb(70, 38, 116);
/* oklch */ color: oklch(35.5% 0.128 298.5);
Tailwind
colors: {
  custom: {
    50: '#7d629d',
    500: '#462674',
    950: '#000000',
  },
}
SCSS
$custom: #462674;
$custom-light: #7d629d;
$custom-dark: #000000;
JSON
{
  "hex": "#462674",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 264.615,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35477,
    "c": 0.1279,
    "h": 298.5
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#462674
secondary
#83A64F
accent
#DA4EA1
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462674

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

Preview Lab → · Contrast checker → · Palette generator →

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