#46236D#46236D

#46236D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.123 H 302.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#46236D
RGBrgb(70, 35, 109)
HSLhsl(268, 51%, 28%)
HSVhsv(268, 68%, 43%)
CMYKcmyk(35.8%, 67.9%, 0%, 57.3%)
CIE-LABlab(22.33, 32.60, -36.86)
CIE-LCHlch(22.33, 49.21, 311.49°)
OKLaboklab(34.46% 0.0655 -0.1047)
OKLCHoklch(34.46% 0.123 302)
XYZxyz(5.8865, 3.6083, 14.8514)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46236D #4A6D23
analogous
#23256D #46236D #6B236D
triadic
#46236D #6D4623 #236D46
tetradic
#46236D #6D2325 #4A6D23 #236D6B
square
#46236D #6D2325 #4A6D23 #236D6B
split-complementary
#46236D #6D6B23 #256D23
monochromatic
#0F0717 #28143F #46236D #64329B #8247C4

Accessibility & contrast

On white

12.20
#46236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#46236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46236D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46236D#FFFFFF#000000##FFFFFF
##46236D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#3E3344
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46236d;
/* rgb */ color: rgb(70, 35, 109);
/* oklch */ color: oklch(34.5% 0.123 302.0);
Tailwind
colors: {
  custom: {
    50: '#7d6097',
    500: '#46236d',
    950: '#000000',
  },
}
SCSS
$custom: #46236d;
$custom-light: #7d6097;
$custom-dark: #000000;
JSON
{
  "hex": "#46236d",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 268.378,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.12349,
    "h": 302
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#46236D
secondary
#78A04B
accent
#DB4D98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46236D

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

Preview Lab → · Contrast checker → · Palette generator →

#46236D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva