#46286F#46286F

#46286F is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.118 H 299.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#46286F
RGBrgb(70, 40, 111)
HSLhsl(265, 47%, 30%)
HSVhsv(265, 64%, 44%)
CMYKcmyk(36.9%, 64%, 0%, 56.5%)
CIE-LABlab(23.56, 30.23, -36.17)
CIE-LCHlch(23.56, 47.14, 309.90°)
OKLaboklab(35.4% 0.0589 -0.1027)
OKLCHoklch(35.4% 0.118 299.8)
XYZxyz(6.1531, 3.9673, 15.4774)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46286F #516F28
analogous
#282E6F #46286F #6A286F
triadic
#46286F #6F4628 #286F46
tetradic
#46286F #6F282E #516F28 #286F6A
square
#46286F #6F282E #516F28 #286F6A
split-complementary
#46286F #6F6A28 #2E6F28
monochromatic
#0E0816 #2A1842 #46286F #62389C #8051C0

Accessibility & contrast

On white

11.71
#46286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#46286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46286F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46286F#FFFFFF#000000##FFFFFF
##46286F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#0E386D
Tritanopia (blue-blind)
#3D3747
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46286f;
/* rgb */ color: rgb(70, 40, 111);
/* oklch */ color: oklch(35.4% 0.118 299.8);
Tailwind
colors: {
  custom: {
    50: '#7d6399',
    500: '#46286f',
    950: '#000000',
  },
}
SCSS
$custom: #46286f;
$custom-light: #7d6399;
$custom-dark: #000000;
JSON
{
  "hex": "#46286f",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 265.352,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.11835,
    "h": 299.8
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#46286F
secondary
#80A151
accent
#D7519E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #46286F

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

Preview Lab → · Contrast checker → · Palette generator →

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