#46279A#46279A

#46279A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.174 H 287.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#46279A
RGBrgb(70, 39, 154)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(54.5%, 74.7%, 0%, 39.6%)
CIE-LABlab(26.98, 43.34, -57.57)
CIE-LCHlch(26.98, 72.06, 306.97°)
OKLaboklab(38.97% 0.0531 -0.1655)
OKLCHoklch(38.97% 0.174 287.8)
XYZxyz(9.0823, 5.0858, 31.0687)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46279A #7B9A27
analogous
#27419A #46279A #7F279A
triadic
#46279A #9A4627 #279A46
tetradic
#46279A #9A2741 #7B9A27 #279A7F
square
#46279A #9A2741 #7B9A27 #279A7F
split-complementary
#46279A #9A7F27 #419A27
monochromatic
#1A0E38 #301B69 #46279A #5C33CB #8364D8

Accessibility & contrast

On white

10.41
#46279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#46279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46279A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46279A#FFFFFF#000000##FFFFFF
##46279A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#24465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46279a;
/* rgb */ color: rgb(70, 39, 154);
/* oklch */ color: oklch(39.0% 0.174 287.8);
Tailwind
colors: {
  custom: {
    50: '#8364b9',
    500: '#46279a',
    950: '#000000',
  },
}
SCSS
$custom: #46279a;
$custom-light: #8364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#46279a",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 256.174,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.17385,
    "h": 287.8
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#46279A
secondary
#A4BD5F
accent
#E345B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46279A

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

Preview Lab → · Contrast checker → · Palette generator →

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