#46255B#46255B

#46255B is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.097 H 310.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#46255B
RGBrgb(70, 37, 91)
HSLhsl(277, 42%, 25%)
HSVhsv(277, 59%, 36%)
CMYKcmyk(23.1%, 59.3%, 0%, 64.3%)
CIE-LABlab(21.51, 26.61, -26.40)
CIE-LCHlch(21.51, 37.49, 315.22°)
OKLaboklab(33.46% 0.063 -0.074)
OKLCHoklch(33.46% 0.097 310.4)
XYZxyz(5.0753, 3.3807, 10.2807)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46255B #3A5B25
analogous
#2B255B #46255B #5B2555
triadic
#46255B #5B4625 #255B46
tetradic
#46255B #5B2B25 #3A5B25 #25555B
square
#46255B #5B2B25 #3A5B25 #25555B
split-complementary
#46255B #555B25 #255B2B
monochromatic
#110916 #25132F #46255B #673787 #8948B2

Accessibility & contrast

On white

12.53
#46255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#46255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46255B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46255B#FFFFFF#000000##FFFFFF
##46255B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325D
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#432E3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46255b;
/* rgb */ color: rgb(70, 37, 91);
/* oklch */ color: oklch(33.5% 0.097 310.4);
Tailwind
colors: {
  custom: {
    50: '#7b618a',
    500: '#46255b',
    950: '#000000',
  },
}
SCSS
$custom: #46255b;
$custom-light: #7b618a;
$custom-dark: #000000;
JSON
{
  "hex": "#46255b",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 276.667,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.09723,
    "h": 310.4
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#46255B
secondary
#678E4D
accent
#D25686
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #46255B

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

Preview Lab → · Contrast checker → · Palette generator →

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