#46267A#46267A

#46267A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.136 H 296.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#46267A
RGBrgb(70, 38, 122)
HSLhsl(263, 53%, 31%)
HSVhsv(263, 69%, 48%)
CMYKcmyk(42.6%, 68.9%, 0%, 52.2%)
CIE-LABlab(23.98, 34.54, -42.53)
CIE-LCHlch(23.98, 54.79, 309.09°)
OKLaboklab(35.97% 0.0603 -0.1214)
OKLCHoklch(35.97% 0.136 296.4)
XYZxyz(6.7308, 4.0933, 18.8440)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46267A #5A7A26
analogous
#26307A #46267A #70267A
triadic
#46267A #7A4626 #267A46
tetradic
#46267A #7A2630 #5A7A26 #267A70
square
#46267A #7A2630 #5A7A26 #267A70
split-complementary
#46267A #7A7026 #307A26
monochromatic
#10091D #2B174B #46267A #6135A9 #7F51C9

Accessibility & contrast

On white

11.55
#46267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#46267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46267A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46267A#FFFFFF#000000##FFFFFF
##46267A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#393A4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46267a;
/* rgb */ color: rgb(70, 38, 122);
/* oklch */ color: oklch(36.0% 0.136 296.4);
Tailwind
colors: {
  custom: {
    50: '#7e63a1',
    500: '#46267a',
    950: '#000000',
  },
}
SCSS
$custom: #46267a;
$custom-light: #7e63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46267a",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 262.857,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.13555,
    "h": 296.4
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#46267A
secondary
#89AC50
accent
#DC4CA5
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46267A

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

Preview Lab → · Contrast checker → · Palette generator →

#46267A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva