#46278E#46278E

#46278E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.159 H 290.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#46278E
RGBrgb(70, 39, 142)
HSLhsl(258, 57%, 35%)
HSVhsv(258, 73%, 56%)
CMYKcmyk(50.7%, 72.5%, 0%, 44.3%)
CIE-LABlab(25.88, 39.81, -51.98)
CIE-LCHlch(25.88, 65.47, 307.45°)
OKLaboklab(37.86% 0.0558 -0.1491)
OKLCHoklch(37.86% 0.159 290.5)
XYZxyz(8.1324, 4.7058, 26.0658)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46278E #6F8E27
analogous
#273C8E #46278E #79278E
triadic
#46278E #8E4627 #278E46
tetradic
#46278E #8E273C #6F8E27 #278E79
square
#46278E #8E273C #6F8E27 #278E79
split-complementary
#46278E #8E7927 #3C8E27
monochromatic
#170D2E #2E1A5E #46278E #5E34BE #805DD2

Accessibility & contrast

On white

10.82
#46278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#46278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46278E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46278E#FFFFFF#000000##FFFFFF
##46278E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#2E4258
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46278e;
/* rgb */ color: rgb(70, 39, 142);
/* oklch */ color: oklch(37.9% 0.159 290.5);
Tailwind
colors: {
  custom: {
    50: '#8164b0',
    500: '#46278e',
    950: '#000000',
  },
}
SCSS
$custom: #46278e;
$custom-light: #8164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46278e",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 258.058,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.15924,
    "h": 290.5
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#46278E
secondary
#9BB859
accent
#E048B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #46278E

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

Preview Lab → · Contrast checker → · Palette generator →

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