#46267E#46267E

#46267E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.141 H 295.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#46267E
RGBrgb(70, 38, 126)
HSLhsl(262, 54%, 32%)
HSVhsv(262, 70%, 49%)
CMYKcmyk(44.4%, 69.8%, 0%, 50.6%)
CIE-LABlab(24.30, 35.70, -44.53)
CIE-LCHlch(24.30, 57.07, 308.71°)
OKLaboklab(36.31% 0.0598 -0.1273)
OKLCHoklch(36.31% 0.141 295.2)
XYZxyz(6.9838, 4.1945, 20.1763)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46267E #5E7E26
analogous
#26327E #46267E #72267E
triadic
#46267E #7E4626 #267E46
tetradic
#46267E #7E2632 #5E7E26 #267E72
square
#46267E #7E2632 #5E7E26 #267E72
split-complementary
#46267E #7E7226 #327E26
monochromatic
#120A20 #2C184F #46267E #6034AD #7F53CB

Accessibility & contrast

On white

11.42
#46267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#46267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46267E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46267E#FFFFFF#000000##FFFFFF
##46267E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#373B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46267e;
/* rgb */ color: rgb(70, 38, 126);
/* oklch */ color: oklch(36.3% 0.141 295.2);
Tailwind
colors: {
  custom: {
    50: '#7f63a4',
    500: '#46267e',
    950: '#000000',
  },
}
SCSS
$custom: #46267e;
$custom-light: #7f63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46267e",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 261.818,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36306,
    "c": 0.1406,
    "h": 295.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#46267E
secondary
#8DB050
accent
#DD4BA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46267E

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

Preview Lab → · Contrast checker → · Palette generator →

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