#41275B#41275B

#41275B is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.092 H 305.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#41275B
RGBrgb(65, 39, 91)
HSLhsl(270, 40%, 25%)
HSVhsv(270, 57%, 36%)
CMYKcmyk(28.6%, 57.1%, 0%, 64.3%)
CIE-LABlab(21.32, 23.87, -26.74)
CIE-LCHlch(21.32, 35.84, 311.75°)
OKLaboklab(33.17% 0.0527 -0.0752)
OKLCHoklch(33.17% 0.092 305)
XYZxyz(4.7934, 3.3302, 10.2858)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41275B #415B27
analogous
#27275B #41275B #5B275B
triadic
#41275B #5B4127 #275B41
tetradic
#41275B #5B2727 #415B27 #275B5B
square
#41275B #5B2727 #415B27 #275B5B
split-complementary
#41275B #5B5B27 #275B27
monochromatic
#0F0915 #221530 #41275B #603986 #7E4CB1

Accessibility & contrast

On white

12.61
#41275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#41275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41275B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41275B#FFFFFF#000000##FFFFFF
##41275B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#1E335A
Tritanopia (blue-blind)
#3D313D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41275b;
/* rgb */ color: rgb(65, 39, 91);
/* oklch */ color: oklch(33.2% 0.092 305.0);
Tailwind
colors: {
  custom: {
    50: '#77628a',
    500: '#41275b',
    950: '#000000',
  },
}
SCSS
$custom: #41275b;
$custom-light: #77628a;
$custom-dark: #000000;
JSON
{
  "hex": "#41275b",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 270,
    "s": 40,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.09182,
    "h": 305
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#41275B
secondary
#6F8E50
accent
#D05894
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #41275B

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

Preview Lab → · Contrast checker → · Palette generator →

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