#46266C#46266C

#46266C is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.118 H 301.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#46266C
RGBrgb(70, 38, 108)
HSLhsl(267, 48%, 29%)
HSVhsv(267, 65%, 42%)
CMYKcmyk(35.2%, 64.8%, 0%, 57.6%)
CIE-LABlab(22.90, 30.58, -35.30)
CIE-LCHlch(22.90, 46.71, 310.90°)
OKLaboklab(34.85% 0.0617 -0.1001)
OKLCHoklch(34.85% 0.118 301.6)
XYZxyz(5.9250, 3.7710, 14.6002)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46266C #4C6C26
analogous
#26296C #46266C #69266C
triadic
#46266C #6C4626 #266C46
tetradic
#46266C #6C2629 #4C6C26 #266C69
square
#46266C #6C2629 #4C6C26 #266C69
split-complementary
#46266C #6C6926 #296C26
monochromatic
#0F0817 #29163F #46266C #633699 #814CC0

Accessibility & contrast

On white

11.97
#46266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46266C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46266C#FFFFFF#000000##FFFFFF
##46266C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#10366A
Tritanopia (blue-blind)
#3E3545
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46266c;
/* rgb */ color: rgb(70, 38, 108);
/* oklch */ color: oklch(34.8% 0.118 301.6);
Tailwind
colors: {
  custom: {
    50: '#7d6297',
    500: '#46266c',
    950: '#000000',
  },
}
SCSS
$custom: #46266c;
$custom-light: #7d6297;
$custom-dark: #000000;
JSON
{
  "hex": "#46266c",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 267.429,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.11759,
    "h": 301.6
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#46266C
secondary
#7A9F4F
accent
#D8509A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46266C

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

Preview Lab → · Contrast checker → · Palette generator →

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