#46278C#46278C

#46278C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.157 H 291.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#46278C
RGBrgb(70, 39, 140)
HSLhsl(258, 56%, 35%)
HSVhsv(258, 72%, 55%)
CMYKcmyk(50%, 72.1%, 0%, 45.1%)
CIE-LABlab(25.70, 39.22, -51.03)
CIE-LCHlch(25.70, 64.36, 307.55°)
OKLaboklab(37.68% 0.0562 -0.1464)
OKLCHoklch(37.68% 0.157 291)
XYZxyz(7.9836, 4.6463, 25.2820)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46278C #6D8C27
analogous
#273A8C #46278C #79278C
triadic
#46278C #8C4627 #278C46
tetradic
#46278C #8C273A #6D8C27 #278C79
square
#46278C #8C273A #6D8C27 #278C79
split-complementary
#46278C #8C7927 #3A8C27
monochromatic
#160C2C #2E1A5C #46278C #5E34BC #805CD2

Accessibility & contrast

On white

10.88
#46278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#46278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46278C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46278C#FFFFFF#000000##FFFFFF
##46278C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#2F4156
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46278c;
/* rgb */ color: rgb(70, 39, 140);
/* oklch */ color: oklch(37.7% 0.157 291.0);
Tailwind
colors: {
  custom: {
    50: '#8164ae',
    500: '#46278c',
    950: '#000000',
  },
}
SCSS
$custom: #46278c;
$custom-light: #8164ae;
$custom-dark: #000000;
JSON
{
  "hex": "#46278c",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 258.416,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37678,
    "c": 0.15678,
    "h": 291
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#46278C
secondary
#9AB758
accent
#E048B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #46278C

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

Preview Lab → · Contrast checker → · Palette generator →

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