#460F66#460F66

#460F66 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.141 H 308.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#460F66
RGBrgb(70, 15, 102)
HSLhsl(278, 74%, 23%)
HSVhsv(278, 85%, 40%)
CMYKcmyk(31.4%, 85.3%, 0%, 60%)
CIE-LABlab(18.38, 40.34, -38.71)
CIE-LCHlch(18.38, 55.90, 316.18°)
OKLaboklab(31.47% 0.0883 -0.11)
OKLCHoklch(31.47% 0.141 308.8)
XYZxyz(5.0944, 2.6031, 12.8019)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F66 #2F660F
analogous
#1A0F66 #460F66 #660F5A
triadic
#460F66 #66460F #0F6646
tetradic
#460F66 #661A0F #2F660F #0F5A66
square
#460F66 #661A0F #2F660F #0F5A66
split-complementary
#460F66 #5A660F #0F661A
monochromatic
#12041B #210731 #460F66 #6B179B #8F1FD1

Accessibility & contrast

On white

13.81
#460F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#460F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F66
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F66#FFFFFF#000000##FFFFFF
##460F661.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#41263B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #460f66;
/* rgb */ color: rgb(70, 15, 102);
/* oklch */ color: oklch(31.5% 0.141 308.8);
Tailwind
colors: {
  custom: {
    50: '#7e5692',
    500: '#460f66',
    950: '#000000',
  },
}
SCSS
$custom: #460f66;
$custom-light: #7e5692;
$custom-dark: #000000;
JSON
{
  "hex": "#460f66",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 277.931,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.14106,
    "h": 308.8
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#460F66
secondary
#5A9F32
accent
#F1377B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #460F66

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

Preview Lab → · Contrast checker → · Palette generator →

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