#46278D#46278D

#46278D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.158 H 290.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#46278D
RGBrgb(70, 39, 141)
HSLhsl(258, 57%, 35%)
HSVhsv(258, 72%, 55%)
CMYKcmyk(50.4%, 72.3%, 0%, 44.7%)
CIE-LABlab(25.79, 39.52, -51.50)
CIE-LCHlch(25.79, 64.92, 307.50°)
OKLaboklab(37.77% 0.056 -0.1478)
OKLCHoklch(37.77% 0.158 290.8)
XYZxyz(8.0577, 4.6759, 25.6721)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46278D #6E8D27
analogous
#273B8D #46278D #79278D
triadic
#46278D #8D4627 #278D46
tetradic
#46278D #8D273B #6E8D27 #278D79
square
#46278D #8D273B #6E8D27 #278D79
split-complementary
#46278D #8D7927 #3B8D27
monochromatic
#160C2D #2E1A5D #46278D #5E34BD #805CD2

Accessibility & contrast

On white

10.85
#46278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46278D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46278D#FFFFFF#000000##FFFFFF
##46278D1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#2E4157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46278d;
/* rgb */ color: rgb(70, 39, 141);
/* oklch */ color: oklch(37.8% 0.158 290.8);
Tailwind
colors: {
  custom: {
    50: '#8164af',
    500: '#46278d',
    950: '#000000',
  },
}
SCSS
$custom: #46278d;
$custom-light: #8164af;
$custom-dark: #000000;
JSON
{
  "hex": "#46278d",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 258.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.15802,
    "h": 290.8
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#46278D
secondary
#9AB759
accent
#E048B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #46278D

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

Preview Lab → · Contrast checker → · Palette generator →

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