#46287F#46287F

#46287F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.139 H 294.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#46287F
RGBrgb(70, 40, 127)
HSLhsl(261, 52%, 33%)
HSVhsv(261, 69%, 50%)
CMYKcmyk(44.9%, 68.5%, 0%, 50.2%)
CIE-LABlab(24.80, 34.85, -44.35)
CIE-LCHlch(24.80, 56.41, 308.15°)
OKLaboklab(36.69% 0.0574 -0.1268)
OKLCHoklch(36.69% 0.139 294.4)
XYZxyz(7.1143, 4.3518, 20.5397)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46287F #617F28
analogous
#28357F #46287F #72287F
triadic
#46287F #7F4628 #287F46
tetradic
#46287F #7F2835 #617F28 #287F72
square
#46287F #7F2835 #617F28 #287F72
split-complementary
#46287F #7F7228 #357F28
monochromatic
#130B22 #2C1950 #46287F #6037AE #7F57CA

Accessibility & contrast

On white

11.23
#46287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46287F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46287F#FFFFFF#000000##FFFFFF
##46287F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#363D50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46287f;
/* rgb */ color: rgb(70, 40, 127);
/* oklch */ color: oklch(36.7% 0.139 294.4);
Tailwind
colors: {
  custom: {
    50: '#7f64a5',
    500: '#46287f',
    950: '#000000',
  },
}
SCSS
$custom: #46287f;
$custom-light: #7f64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46287f",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 260.69,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36689,
    "c": 0.13914,
    "h": 294.4
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#46287F
secondary
#90AF54
accent
#DC4CAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46287F

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

Preview Lab → · Contrast checker → · Palette generator →

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