#46236E#46236E

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

Color values

HEX#46236E
RGBrgb(70, 35, 110)
HSLhsl(268, 52%, 28%)
HSVhsv(268, 68%, 43%)
CMYKcmyk(36.4%, 68.2%, 0%, 56.9%)
CIE-LABlab(22.41, 32.87, -37.39)
CIE-LCHlch(22.41, 49.78, 311.33°)
OKLaboklab(34.54% 0.0654 -0.1062)
OKLCHoklch(34.54% 0.125 301.6)
XYZxyz(5.9406, 3.6299, 15.1365)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46236E #4B6E23
analogous
#23256E #46236E #6B236E
triadic
#46236E #6E4623 #236E46
tetradic
#46236E #6E2325 #4B6E23 #236E6B
square
#46236E #6E2325 #4B6E23 #236E6B
split-complementary
#46236E #6E6B23 #256E23
monochromatic
#0F0717 #281440 #46236E #64329C #8247C4

Accessibility & contrast

On white

12.17
#46236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#46236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46236E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46236E#FFFFFF#000000##FFFFFF
##46236E1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#05356C
Tritanopia (blue-blind)
#3E3445
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46236e;
/* rgb */ color: rgb(70, 35, 110);
/* oklch */ color: oklch(34.5% 0.125 301.6);
Tailwind
colors: {
  custom: {
    50: '#7d6098',
    500: '#46236e',
    950: '#000000',
  },
}
SCSS
$custom: #46236e;
$custom-light: #7d6098;
$custom-dark: #000000;
JSON
{
  "hex": "#46236e",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 268,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3454,
    "c": 0.12475,
    "h": 301.6
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#46236E
secondary
#79A14C
accent
#DB4D99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46236E

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

Preview Lab → · Contrast checker → · Palette generator →

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