#46286C#46286C

#46286C is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.114 H 301.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#46286C
RGBrgb(70, 40, 108)
HSLhsl(266, 46%, 29%)
HSVhsv(266, 63%, 42%)
CMYKcmyk(35.2%, 63%, 0%, 57.6%)
CIE-LABlab(23.35, 29.39, -34.58)
CIE-LCHlch(23.35, 45.38, 310.36°)
OKLaboklab(35.17% 0.059 -0.098)
OKLCHoklch(35.17% 0.114 301)
XYZxyz(5.9907, 3.9024, 14.6221)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46286C #4E6C28
analogous
#282C6C #46286C #68286C
triadic
#46286C #6C4628 #286C46
tetradic
#46286C #6C282C #4E6C28 #286C68
square
#46286C #6C282C #4E6C28 #286C68
split-complementary
#46286C #6C6828 #2C6C28
monochromatic
#0E0816 #29173F #46286C #633999 #8150BE

Accessibility & contrast

On white

11.80
#46286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#46286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46286C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46286C#FFFFFF#000000##FFFFFF
##46286C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#3E3646
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46286c;
/* rgb */ color: rgb(70, 40, 108);
/* oklch */ color: oklch(35.2% 0.114 301.0);
Tailwind
colors: {
  custom: {
    50: '#7c6396',
    500: '#46286c',
    950: '#000000',
  },
}
SCSS
$custom: #46286c;
$custom-light: #7c6396;
$custom-dark: #000000;
JSON
{
  "hex": "#46286c",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 266.471,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.11439,
    "h": 301
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#46286C
secondary
#7C9E51
accent
#D6529C
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #46286C

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

Preview Lab → · Contrast checker → · Palette generator →

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