#41274C#41274C

#41274C is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.2% C 0.071 H 315.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#41274C
RGBrgb(65, 39, 76)
HSLhsl(282, 32%, 23%)
HSVhsv(282, 49%, 30%)
CMYKcmyk(14.5%, 48.7%, 0%, 70.2%)
CIE-LABlab(20.43, 19.89, -18.12)
CIE-LCHlch(20.43, 26.90, 317.68°)
OKLaboklab(32.22% 0.0506 -0.0501)
OKLCHoklch(32.22% 0.071 315.3)
XYZxyz(4.2098, 3.0968, 7.2120)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41274C #324C27
analogous
#2E274C #41274C #4C2745
triadic
#41274C #4C4127 #274C41
tetradic
#41274C #4C2E27 #324C27 #27454C
square
#41274C #4C2E27 #324C27 #27454C
split-complementary
#41274C #454C27 #274C2E
monochromatic
#110A14 #1E1224 #41274C #643C74 #86519D

Accessibility & contrast

On white

12.97
#41274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41274C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41274C#FFFFFF#000000##FFFFFF
##41274C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304D
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#402C35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41274c;
/* rgb */ color: rgb(65, 39, 76);
/* oklch */ color: oklch(32.2% 0.071 315.3);
Tailwind
colors: {
  custom: {
    50: '#76627e',
    500: '#41274c',
    950: '#000000',
  },
}
SCSS
$custom: #41274c;
$custom-light: #76627e;
$custom-dark: #000000;
JSON
{
  "hex": "#41274c",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 282.162,
    "s": 32.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32216,
    "c": 0.07122,
    "h": 315.3
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#41274C
secondary
#5E7F50
accent
#C85F7F
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #41274C

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

Preview Lab → · Contrast checker → · Palette generator →

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