#46279C#46279C

#46279C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.176 H 287.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#46279C
RGBrgb(70, 39, 156)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 61%)
CMYKcmyk(55.1%, 75%, 0%, 38.8%)
CIE-LABlab(27.17, 43.93, -58.48)
CIE-LCHlch(27.17, 73.14, 306.91°)
OKLaboklab(39.16% 0.0526 -0.1682)
OKLCHoklch(39.16% 0.176 287.4)
XYZxyz(9.2503, 5.1529, 31.9532)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46279C #7D9C27
analogous
#27439C #46279C #80279C
triadic
#46279C #9C4627 #279C46
tetradic
#46279C #9C2743 #7D9C27 #279C80
square
#46279C #9C2743 #7D9C27 #279C80
split-complementary
#46279C #9C8027 #439C27
monochromatic
#1A0F3A #301B6B #46279C #5C34CC #8465D8

Accessibility & contrast

On white

10.34
#46279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#46279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46279C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46279C#FFFFFF#000000##FFFFFF
##46279C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#22475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46279c;
/* rgb */ color: rgb(70, 39, 156);
/* oklch */ color: oklch(39.2% 0.176 287.4);
Tailwind
colors: {
  custom: {
    50: '#8365ba',
    500: '#46279c',
    950: '#000000',
  },
}
SCSS
$custom: #46279c;
$custom-light: #8365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46279c",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 255.897,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.17624,
    "h": 287.4
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#46279C
secondary
#A5BE61
accent
#E345B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46279C

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

Preview Lab → · Contrast checker → · Palette generator →

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