#41167B#41167B

#41167B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.156 H 296.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#41167B
RGBrgb(65, 22, 123)
HSLhsl(266, 70%, 28%)
HSVhsv(266, 82%, 48%)
CMYKcmyk(47.2%, 82.1%, 0%, 51.8%)
CIE-LABlab(20.55, 42.01, -48.79)
CIE-LCHlch(20.55, 64.38, 310.73°)
OKLaboklab(33.43% 0.0681 -0.1398)
OKLCHoklch(33.43% 0.156 296)
XYZxyz(6.0411, 3.1275, 19.0204)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41167B #507B16
analogous
#161D7B #41167B #73167B
triadic
#41167B #7B4116 #167B41
tetradic
#41167B #7B161D #507B16 #167B73
square
#41167B #7B161D #507B16 #167B73
split-complementary
#41167B #7B7316 #1D7B16
monochromatic
#0E051A #260D47 #41167B #5C1FAF #7931DA

Accessibility & contrast

On white

12.92
#41167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#41167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41167B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41167B#FFFFFF#000000##FFFFFF
##41167B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#313349
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41167b;
/* rgb */ color: rgb(65, 22, 123);
/* oklch */ color: oklch(33.4% 0.156 296.0);
Tailwind
colors: {
  custom: {
    50: '#7c59a2',
    500: '#41167b',
    950: '#000000',
  },
}
SCSS
$custom: #41167b;
$custom-light: #7c59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41167b",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 265.545,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.15554,
    "h": 296
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#41167B
secondary
#7FB03D
accent
#EC3BA1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41167B

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

Preview Lab → · Contrast checker → · Palette generator →

#41167B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva