#261571#261571

#261571 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.146 H 281.0°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#261571
RGBrgb(38, 21, 113)
HSLhsl(251, 69%, 26%)
HSVhsv(251, 81%, 44%)
CMYKcmyk(66.4%, 81.4%, 0%, 55.7%)
CIE-LABlab(16.21, 35.78, -49.61)
CIE-LCHlch(16.21, 61.17, 305.80°)
OKLaboklab(29.36% 0.0278 -0.1432)
OKLCHoklch(29.36% 0.146 281)
XYZxyz(4.0472, 2.1403, 15.8194)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261571 #607115
analogous
#153271 #261571 #541571
triadic
#261571 #712615 #157126
tetradic
#261571 #711532 #607115 #157154
square
#261571 #711532 #607115 #157154
split-complementary
#261571 #715415 #327115
monochromatic
#09051A #150B3D #261571 #371FA5 #4929D7

Accessibility & contrast

On white

14.70
#261571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261571
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261571#FFFFFF#000000##FFFFFF
##2615711.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261571;
/* rgb */ color: rgb(38, 21, 113);
/* oklch */ color: oklch(29.4% 0.146 281.0);
Tailwind
colors: {
  custom: {
    50: '#6c559b',
    500: '#261571',
    950: '#000000',
  },
}
SCSS
$custom: #261571;
$custom-light: #6c559b;
$custom-dark: #000000;
JSON
{
  "hex": "#261571",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 251.087,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.14584,
    "h": 281
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#261571
secondary
#93A73B
accent
#EB3CCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261571

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

Preview Lab → · Contrast checker → · Palette generator →

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