#46279F#46279F

#46279F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.180 H 286.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#46279F
RGBrgb(70, 39, 159)
HSLhsl(256, 61%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(56%, 75.5%, 0%, 37.6%)
CIE-LABlab(27.45, 44.81, -59.84)
CIE-LCHlch(27.45, 74.76, 306.83°)
OKLaboklab(39.45% 0.0518 -0.1722)
OKLCHoklch(39.45% 0.18 286.7)
XYZxyz(9.5074, 5.2558, 33.3077)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46279F #809F27
analogous
#27449F #46279F #82279F
triadic
#46279F #9F4627 #279F46
tetradic
#46279F #9F2744 #809F27 #279F82
square
#46279F #9F2744 #809F27 #279F82
split-complementary
#46279F #9F8227 #449F27
monochromatic
#1B0F3D #301B6E #46279F #5D36CE #8467DA

Accessibility & contrast

On white

10.24
#46279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#46279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46279F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46279F#FFFFFF#000000##FFFFFF
##46279F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#1F4861
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46279f;
/* rgb */ color: rgb(70, 39, 159);
/* oklch */ color: oklch(39.5% 0.180 286.7);
Tailwind
colors: {
  custom: {
    50: '#8465bc',
    500: '#46279f',
    950: '#000000',
  },
}
SCSS
$custom: #46279f;
$custom-light: #8465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46279f",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 255.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.17983,
    "h": 286.7
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#46279F
secondary
#A7C062
accent
#E444BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46279F

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

Preview Lab → · Contrast checker → · Palette generator →

#46279F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva