#46285A#46285A

#46285A is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.9% C 0.090 H 310.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#46285A
RGBrgb(70, 40, 90)
HSLhsl(276, 38%, 25%)
HSVhsv(276, 56%, 35%)
CMYKcmyk(22.2%, 55.6%, 0%, 64.7%)
CIE-LABlab(22.15, 24.50, -24.72)
CIE-LCHlch(22.15, 34.80, 314.75°)
OKLaboklab(33.91% 0.0583 -0.0691)
OKLCHoklch(33.91% 0.09 310.1)
XYZxyz(5.1297, 3.5579, 10.0874)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46285A #3C5A28
analogous
#2D285A #46285A #5A2855
triadic
#46285A #5A4628 #285A46
tetradic
#46285A #5A2D28 #3C5A28 #28555A
square
#46285A #5A2D28 #3C5A28 #28555A
split-complementary
#46285A #555A28 #285A2D
monochromatic
#100915 #251530 #46285A #673B84 #884EAF

Accessibility & contrast

On white

12.27
#46285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#46285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46285A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46285A#FFFFFF#000000##FFFFFF
##46285A1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345C
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#44303D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46285a;
/* rgb */ color: rgb(70, 40, 90);
/* oklch */ color: oklch(33.9% 0.090 310.1);
Tailwind
colors: {
  custom: {
    50: '#7b6389',
    500: '#46285a',
    950: '#000000',
  },
}
SCSS
$custom: #46285a;
$custom-light: #7b6389;
$custom-dark: #000000;
JSON
{
  "hex": "#46285a",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 276,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.09043,
    "h": 310.1
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#46285A
secondary
#698D51
accent
#CE5988
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #46285A

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

Preview Lab → · Contrast checker → · Palette generator →

#46285A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva