#46286D#46286D

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

Color values

HEX#46286D
RGBrgb(70, 40, 109)
HSLhsl(266, 46%, 29%)
HSVhsv(266, 63%, 43%)
CMYKcmyk(35.8%, 63.3%, 0%, 57.3%)
CIE-LABlab(23.42, 29.67, -35.11)
CIE-LCHlch(23.42, 45.97, 310.20°)
OKLaboklab(35.25% 0.0589 -0.0996)
OKLCHoklch(35.25% 0.116 300.6)
XYZxyz(6.0442, 3.9238, 14.9040)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46286D #4F6D28
analogous
#282D6D #46286D #69286D
triadic
#46286D #6D4628 #286D46
tetradic
#46286D #6D282D #4F6D28 #286D69
square
#46286D #6D282D #4F6D28 #286D69
split-complementary
#46286D #6D6928 #2D6D28
monochromatic
#0E0816 #291840 #46286D #63389A #8050BF

Accessibility & contrast

On white

11.77
#46286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46286D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46286D#FFFFFF#000000##FFFFFF
##46286D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#12376B
Tritanopia (blue-blind)
#3E3646
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46286d;
/* rgb */ color: rgb(70, 40, 109);
/* oklch */ color: oklch(35.2% 0.116 300.6);
Tailwind
colors: {
  custom: {
    50: '#7c6397',
    500: '#46286d',
    950: '#000000',
  },
}
SCSS
$custom: #46286d;
$custom-light: #7c6397;
$custom-dark: #000000;
JSON
{
  "hex": "#46286d",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 266.087,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.11572,
    "h": 300.6
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#46286D
secondary
#7D9F51
accent
#D6529D
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #46286D

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

Preview Lab → · Contrast checker → · Palette generator →

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