#46245E#46245E

#46245E is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.103 H 308.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#46245E
RGBrgb(70, 36, 94)
HSLhsl(275, 45%, 25%)
HSVhsv(275, 62%, 37%)
CMYKcmyk(25.5%, 61.7%, 0%, 63.1%)
CIE-LABlab(21.48, 27.99, -28.44)
CIE-LCHlch(21.48, 39.90, 314.55°)
OKLaboklab(33.5% 0.0646 -0.08)
OKLCHoklch(33.5% 0.103 308.9)
XYZxyz(5.1766, 3.3721, 10.9657)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46245E #3C5E24
analogous
#29245E #46245E #5E2459
triadic
#46245E #5E4624 #245E46
tetradic
#46245E #5E2924 #3C5E24 #24595E
square
#46245E #5E2924 #3C5E24 #24595E
split-complementary
#46245E #595E24 #245E29
monochromatic
#100816 #251332 #46245E #67358A #8846B7

Accessibility & contrast

On white

12.54
#46245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#46245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46245E
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46245E#FFFFFF#000000##FFFFFF
##46245E1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#1D345D
Tritanopia (blue-blind)
#432F3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46245e;
/* rgb */ color: rgb(70, 36, 94);
/* oklch */ color: oklch(33.5% 0.103 308.9);
Tailwind
colors: {
  custom: {
    50: '#7b608c',
    500: '#46245e',
    950: '#000000',
  },
}
SCSS
$custom: #46245e;
$custom-light: #7b608c;
$custom-dark: #000000;
JSON
{
  "hex": "#46245e",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 275.172,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.10284,
    "h": 308.9
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#46245E
secondary
#69924C
accent
#D45389
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #46245E

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

Preview Lab → · Contrast checker → · Palette generator →

#46245E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva