#460F74#460F74

#460F74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.155 H 302.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#460F74
RGBrgb(70, 15, 116)
HSLhsl(273, 77%, 26%)
HSVhsv(273, 87%, 45%)
CMYKcmyk(39.7%, 87.1%, 0%, 54.5%)
CIE-LABlab(19.66, 43.69, -45.73)
CIE-LCHlch(19.66, 63.25, 313.69°)
OKLaboklab(32.76% 0.0838 -0.1306)
OKLCHoklch(32.76% 0.155 302.7)
XYZxyz(5.8482, 2.9047, 16.7722)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F74 #3D740F
analogous
#130F74 #460F74 #740F6F
triadic
#460F74 #74460F #0F7446
tetradic
#460F74 #74130F #3D740F #0F6F74
square
#460F74 #74130F #3D740F #0F6F74
split-complementary
#460F74 #6F740F #0F7413
monochromatic
#10041B #25083E #460F74 #6716AA #871DE0

Accessibility & contrast

On white

13.28
#460F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#460F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F74
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F74#FFFFFF#000000##FFFFFF
##460F741.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#3C2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #460f74;
/* rgb */ color: rgb(70, 15, 116);
/* oklch */ color: oklch(32.8% 0.155 302.7);
Tailwind
colors: {
  custom: {
    50: '#7f569d',
    500: '#460f74',
    950: '#000000',
  },
}
SCSS
$custom: #460f74;
$custom-light: #7f569d;
$custom-dark: #000000;
JSON
{
  "hex": "#460f74",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 272.673,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32757,
    "c": 0.15522,
    "h": 302.7
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#460F74
secondary
#6AAC33
accent
#F4348B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #460F74

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

Preview Lab → · Contrast checker → · Palette generator →

#460F74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva