#46286B#46286B

#46286B is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.113 H 301.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#46286B
RGBrgb(70, 40, 107)
HSLhsl(267, 46%, 29%)
HSVhsv(267, 63%, 42%)
CMYKcmyk(34.6%, 62.6%, 0%, 58%)
CIE-LABlab(23.27, 29.11, -34.05)
CIE-LCHlch(23.27, 44.80, 310.53°)
OKLaboklab(35.1% 0.059 -0.0965)
OKLCHoklch(35.1% 0.113 301.4)
XYZxyz(5.9378, 3.8812, 14.3434)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46286B #4D6B28
analogous
#282C6B #46286B #68286B
triadic
#46286B #6B4628 #286B46
tetradic
#46286B #6B282C #4D6B28 #286B68
square
#46286B #6B282C #4D6B28 #286B68
split-complementary
#46286B #6B6828 #2C6B28
monochromatic
#0F0816 #29173E #46286B #633998 #8150BE

Accessibility & contrast

On white

11.82
#46286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46286B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46286B#FFFFFF#000000##FFFFFF
##46286B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#3F3645
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46286b;
/* rgb */ color: rgb(70, 40, 107);
/* oklch */ color: oklch(35.1% 0.113 301.4);
Tailwind
colors: {
  custom: {
    50: '#7c6396',
    500: '#46286b',
    950: '#000000',
  },
}
SCSS
$custom: #46286b;
$custom-light: #7c6396;
$custom-dark: #000000;
JSON
{
  "hex": "#46286b",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 266.866,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.11307,
    "h": 301.4
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#46286B
secondary
#7B9D51
accent
#D5539B
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #46286B

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

Preview Lab → · Contrast checker → · Palette generator →

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