#460F6A#460F6A

#460F6A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.145 H 306.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#460F6A
RGBrgb(70, 15, 106)
HSLhsl(276, 75%, 24%)
HSVhsv(276, 86%, 42%)
CMYKcmyk(34%, 85.8%, 0%, 58.4%)
CIE-LABlab(18.73, 41.28, -40.75)
CIE-LCHlch(18.73, 58.01, 315.37°)
OKLaboklab(31.83% 0.0871 -0.116)
OKLCHoklch(31.83% 0.145 306.9)
XYZxyz(5.2976, 2.6844, 13.8719)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F6A #336A0F
analogous
#180F6A #460F6A #6A0F60
triadic
#460F6A #6A460F #0F6A46
tetradic
#460F6A #6A180F #336A0F #0F606A
square
#460F6A #6A180F #336A0F #0F606A
split-complementary
#460F6A #606A0F #0F6A18
monochromatic
#12041B #230734 #460F6A #6917A0 #8D1ED5

Accessibility & contrast

On white

13.66
#460F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#460F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F6A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F6A#FFFFFF#000000##FFFFFF
##460F6A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#40283D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #460f6a;
/* rgb */ color: rgb(70, 15, 106);
/* oklch */ color: oklch(31.8% 0.145 306.9);
Tailwind
colors: {
  custom: {
    50: '#7e5695',
    500: '#460f6a',
    950: '#000000',
  },
}
SCSS
$custom: #460f6a;
$custom-light: #7e5695;
$custom-dark: #000000;
JSON
{
  "hex": "#460f6a",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 276.264,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3183,
    "c": 0.14509,
    "h": 306.9
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#460F6A
secondary
#5FA232
accent
#F23680
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #460F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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