#46236C#46236C

#46236C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.122 H 302.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#46236C
RGBrgb(70, 35, 108)
HSLhsl(269, 51%, 28%)
HSVhsv(269, 68%, 42%)
CMYKcmyk(35.2%, 67.6%, 0%, 57.6%)
CIE-LABlab(22.26, 32.33, -36.34)
CIE-LCHlch(22.26, 48.64, 311.66°)
OKLaboklab(34.38% 0.0656 -0.1032)
OKLCHoklch(34.38% 0.122 302.4)
XYZxyz(5.8330, 3.5869, 14.5695)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46236C #496C23
analogous
#23246C #46236C #6A236C
triadic
#46236C #6C4623 #236C46
tetradic
#46236C #6C2324 #496C23 #236C6A
square
#46236C #6C2324 #496C23 #236C6A
split-complementary
#46236C #6C6A23 #246C23
monochromatic
#0F0717 #28143E #46236C #64329A #8246C3

Accessibility & contrast

On white

12.23
#46236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46236C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46236C#FFFFFF#000000##FFFFFF
##46236C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#3E3344
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46236c;
/* rgb */ color: rgb(70, 35, 108);
/* oklch */ color: oklch(34.4% 0.122 302.4);
Tailwind
colors: {
  custom: {
    50: '#7d6097',
    500: '#46236c',
    950: '#000000',
  },
}
SCSS
$custom: #46236c;
$custom-light: #7d6097;
$custom-dark: #000000;
JSON
{
  "hex": "#46236c",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 268.767,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34382,
    "c": 0.12224,
    "h": 302.4
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#46236C
secondary
#779F4B
accent
#DB4D97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46236C

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

Preview Lab → · Contrast checker → · Palette generator →

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