#46266F#46266F

#46266F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.121 H 300.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#46266F
RGBrgb(70, 38, 111)
HSLhsl(266, 49%, 29%)
HSVhsv(266, 66%, 44%)
CMYKcmyk(36.9%, 65.8%, 0%, 56.5%)
CIE-LABlab(23.12, 31.42, -36.88)
CIE-LCHlch(23.12, 48.45, 310.43°)
OKLaboklab(35.08% 0.0615 -0.1048)
OKLCHoklch(35.08% 0.121 300.4)
XYZxyz(6.0874, 3.8360, 15.4555)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46266F #4F6F26
analogous
#262B6F #46266F #6B266F
triadic
#46266F #6F4626 #266F46
tetradic
#46266F #6F262B #4F6F26 #266F6B
square
#46266F #6F262B #4F6F26 #266F6B
split-complementary
#46266F #6F6B26 #2B6F26
monochromatic
#0E0817 #291641 #46266F #63369D #804DC2

Accessibility & contrast

On white

11.88
#46266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#46266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46266F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46266F#FFFFFF#000000##FFFFFF
##46266F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#0A376D
Tritanopia (blue-blind)
#3D3646
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46266f;
/* rgb */ color: rgb(70, 38, 111);
/* oklch */ color: oklch(35.1% 0.121 300.4);
Tailwind
colors: {
  custom: {
    50: '#7d6299',
    500: '#46266f',
    950: '#000000',
  },
}
SCSS
$custom: #46266f;
$custom-light: #7d6299;
$custom-dark: #000000;
JSON
{
  "hex": "#46266f",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 266.301,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.12147,
    "h": 300.4
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#46266F
secondary
#7DA24F
accent
#D94F9C
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46266F

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

Preview Lab → · Contrast checker → · Palette generator →

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