#460F68#460F68

#460F68 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.143 H 307.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#460F68
RGBrgb(70, 15, 104)
HSLhsl(277, 75%, 23%)
HSVhsv(277, 86%, 41%)
CMYKcmyk(32.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(18.55, 40.81, -39.73)
CIE-LCHlch(18.55, 56.96, 315.76°)
OKLaboklab(31.65% 0.0877 -0.113)
OKLCHoklch(31.65% 0.143 307.8)
XYZxyz(5.1948, 2.6433, 13.3306)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F68 #31680F
analogous
#1A0F68 #460F68 #680F5D
triadic
#460F68 #68460F #0F6846
tetradic
#460F68 #681A0F #31680F #0F5D68
square
#460F68 #681A0F #31680F #0F5D68
split-complementary
#460F68 #5D680F #0F681A
monochromatic
#12041B #220733 #460F68 #6A179D #8E1ED3

Accessibility & contrast

On white

13.74
#460F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#460F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F68
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F68#FFFFFF#000000##FFFFFF
##460F681.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#40273C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #460f68;
/* rgb */ color: rgb(70, 15, 104);
/* oklch */ color: oklch(31.7% 0.143 307.8);
Tailwind
colors: {
  custom: {
    50: '#7e5694',
    500: '#460f68',
    950: '#000000',
  },
}
SCSS
$custom: #460f68;
$custom-light: #7e5694;
$custom-dark: #000000;
JSON
{
  "hex": "#460f68",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 277.079,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.14307,
    "h": 307.8
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#460F68
secondary
#5CA132
accent
#F1367E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #460F68

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

Preview Lab → · Contrast checker → · Palette generator →

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