#261176#261176

#261176 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.156 H 280.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#261176
RGBrgb(38, 17, 118)
HSLhsl(252, 75%, 26%)
HSVhsv(252, 86%, 46%)
CMYKcmyk(67.8%, 85.6%, 0%, 53.7%)
CIE-LABlab(16.11, 39.33, -53.01)
CIE-LCHlch(16.11, 66.01, 306.58°)
OKLaboklab(29.46% 0.0284 -0.153)
OKLCHoklch(29.46% 0.156 280.5)
XYZxyz(4.2688, 2.1206, 17.3204)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261176 #617611
analogous
#112F76 #261176 #591176
triadic
#261176 #762611 #117626
tetradic
#261176 #76112F #617611 #117659
square
#261176 #76112F #617611 #117659
split-complementary
#261176 #765911 #2F7611
monochromatic
#09041B #150941 #261176 #3719AB #4A22DF

Accessibility & contrast

On white

14.75
#261176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#261176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261176
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261176#FFFFFF#000000##FFFFFF
##2611761.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261176;
/* rgb */ color: rgb(38, 17, 118);
/* oklch */ color: oklch(29.5% 0.156 280.5);
Tailwind
colors: {
  custom: {
    50: '#6d549f',
    500: '#261176',
    950: '#000000',
  },
}
SCSS
$custom: #261176;
$custom-light: #6d549f;
$custom-dark: #000000;
JSON
{
  "hex": "#261176",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 252.475,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.15561,
    "h": 280.5
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#261176
secondary
#94AD36
accent
#F136CB
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261176

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

Preview Lab → · Contrast checker → · Palette generator →

#261176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva