#46266A#46266A

#46266A is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.7% C 0.115 H 302.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#46266A
RGBrgb(70, 38, 106)
HSLhsl(268, 47%, 28%)
HSVhsv(268, 64%, 42%)
CMYKcmyk(34%, 64.2%, 0%, 58.4%)
CIE-LABlab(22.75, 30.03, -34.24)
CIE-LCHlch(22.75, 45.54, 311.25°)
OKLaboklab(34.7% 0.0617 -0.097)
OKLCHoklch(34.7% 0.115 302.5)
XYZxyz(5.8198, 3.7289, 14.0460)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46266A #4A6A26
analogous
#26286A #46266A #68266A
triadic
#46266A #6A4626 #266A46
tetradic
#46266A #6A2628 #4A6A26 #266A68
square
#46266A #6A2628 #4A6A26 #266A68
split-complementary
#46266A #6A6826 #286A26
monochromatic
#0F0817 #28163D #46266A #643697 #824CBF

Accessibility & contrast

On white

12.03
#46266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#46266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46266A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46266A#FFFFFF#000000##FFFFFF
##46266A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366C
Deuteranopia (green-blind)
#133668
Tritanopia (blue-blind)
#3F3444
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46266a;
/* rgb */ color: rgb(70, 38, 106);
/* oklch */ color: oklch(34.7% 0.115 302.5);
Tailwind
colors: {
  custom: {
    50: '#7c6295',
    500: '#46266a',
    950: '#000000',
  },
}
SCSS
$custom: #46266a;
$custom-light: #7c6295;
$custom-dark: #000000;
JSON
{
  "hex": "#46266a",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 268.235,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34696,
    "c": 0.11499,
    "h": 302.5
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#46266A
secondary
#789D4F
accent
#D75198
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46266A

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

Preview Lab → · Contrast checker → · Palette generator →

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