#46255C#46255C

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

Color values

HEX#46255C
RGBrgb(70, 37, 92)
HSLhsl(276, 43%, 25%)
HSVhsv(276, 60%, 36%)
CMYKcmyk(23.9%, 59.8%, 0%, 63.9%)
CIE-LABlab(21.57, 26.87, -26.96)
CIE-LCHlch(21.57, 38.07, 314.90°)
OKLaboklab(33.52% 0.0631 -0.0757)
OKLCHoklch(33.52% 0.099 309.8)
XYZxyz(5.1188, 3.3980, 10.5094)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46255C #3B5C25
analogous
#2A255C #46255C #5C2556
triadic
#46255C #5C4625 #255C46
tetradic
#46255C #5C2A25 #3B5C25 #25565C
square
#46255C #5C2A25 #3B5C25 #25565C
split-complementary
#46255C #565C25 #255C2A
monochromatic
#110916 #251330 #46255C #673788 #8848B3

Accessibility & contrast

On white

12.50
#46255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46255C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46255C#FFFFFF#000000##FFFFFF
##46255C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#432F3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46255c;
/* rgb */ color: rgb(70, 37, 92);
/* oklch */ color: oklch(33.5% 0.099 309.8);
Tailwind
colors: {
  custom: {
    50: '#7b618a',
    500: '#46255c',
    950: '#000000',
  },
}
SCSS
$custom: #46255c;
$custom-light: #7b618a;
$custom-dark: #000000;
JSON
{
  "hex": "#46255c",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 276,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33524,
    "c": 0.09852,
    "h": 309.8
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#46255C
secondary
#688F4D
accent
#D25587
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #46255C

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

Preview Lab → · Contrast checker → · Palette generator →

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