#46279E#46279E

#46279E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.179 H 286.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#46279E
RGBrgb(70, 39, 158)
HSLhsl(256, 60%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(55.7%, 75.3%, 0%, 38%)
CIE-LABlab(27.36, 44.52, -59.39)
CIE-LCHlch(27.36, 74.22, 306.85°)
OKLaboklab(39.36% 0.0521 -0.1709)
OKLCHoklch(39.36% 0.179 286.9)
XYZxyz(9.4210, 5.2212, 32.8525)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46279E #7F9E27
analogous
#27439E #46279E #81279E
triadic
#46279E #9E4627 #279E46
tetradic
#46279E #9E2743 #7F9E27 #279E81
square
#46279E #9E2743 #7F9E27 #279E81
split-complementary
#46279E #9E8127 #439E27
monochromatic
#1B0F3C #301B6D #46279E #5D35CD #8466D9

Accessibility & contrast

On white

10.27
#46279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#46279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46279E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46279E#FFFFFF#000000##FFFFFF
##46279E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#204860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46279e;
/* rgb */ color: rgb(70, 39, 158);
/* oklch */ color: oklch(39.4% 0.179 286.9);
Tailwind
colors: {
  custom: {
    50: '#8365bc',
    500: '#46279e',
    950: '#000000',
  },
}
SCSS
$custom: #46279e;
$custom-light: #8365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46279e",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 255.63,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.17863,
    "h": 286.9
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#46279E
secondary
#A7BF62
accent
#E444BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46279E

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

Preview Lab → · Contrast checker → · Palette generator →

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