#46278F#46278F

#46278F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.160 H 290.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#46278F
RGBrgb(70, 39, 143)
HSLhsl(258, 57%, 36%)
HSVhsv(258, 73%, 56%)
CMYKcmyk(51%, 72.7%, 0%, 43.9%)
CIE-LABlab(25.97, 40.10, -52.45)
CIE-LCHlch(25.97, 66.03, 307.40°)
OKLaboklab(37.95% 0.0556 -0.1505)
OKLCHoklch(37.95% 0.16 290.3)
XYZxyz(8.2078, 4.7360, 26.4629)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46278F #708F27
analogous
#273C8F #46278F #7A278F
triadic
#46278F #8F4627 #278F46
tetradic
#46278F #8F273C #708F27 #278F7A
square
#46278F #8F273C #708F27 #278F7A
split-complementary
#46278F #8F7A27 #3C8F27
monochromatic
#170D2F #2E1A5F #46278F #5E34BF #805DD3

Accessibility & contrast

On white

10.78
#46278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#46278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46278F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46278F#FFFFFF#000000##FFFFFF
##46278F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#2D4258
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46278f;
/* rgb */ color: rgb(70, 39, 143);
/* oklch */ color: oklch(38.0% 0.160 290.3);
Tailwind
colors: {
  custom: {
    50: '#8164b1',
    500: '#46278f',
    950: '#000000',
  },
}
SCSS
$custom: #46278f;
$custom-light: #8164b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46278f",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 257.885,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.16047,
    "h": 290.3
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#46278F
secondary
#9CB85A
accent
#E047B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #46278F

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

Preview Lab → · Contrast checker → · Palette generator →

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