#261371#261371

#261371 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.148 H 281.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#261371
RGBrgb(38, 19, 113)
HSLhsl(252, 71%, 26%)
HSVhsv(252, 83%, 44%)
CMYKcmyk(66.4%, 83.2%, 0%, 55.7%)
CIE-LABlab(15.85, 36.81, -50.20)
CIE-LCHlch(15.85, 62.25, 306.25°)
OKLaboklab(29.11% 0.029 -0.1449)
OKLCHoklch(29.11% 0.148 281.3)
XYZxyz(4.0119, 2.0698, 15.8077)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261371 #5E7113
analogous
#132F71 #261371 #551371
triadic
#261371 #712613 #137126
tetradic
#261371 #71132F #5E7113 #137155
square
#261371 #71132F #5E7113 #137155
split-complementary
#261371 #715513 #2F7113
monochromatic
#09041A #140A3D #261371 #381CA5 #4925DA

Accessibility & contrast

On white

14.85
#261371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261371
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261371#FFFFFF#000000##FFFFFF
##2613711.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261371;
/* rgb */ color: rgb(38, 19, 113);
/* oklch */ color: oklch(29.1% 0.148 281.3);
Tailwind
colors: {
  custom: {
    50: '#6c549b',
    500: '#261371',
    950: '#000000',
  },
}
SCSS
$custom: #261371;
$custom-light: #6c549b;
$custom-dark: #000000;
JSON
{
  "hex": "#261371",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 252.128,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.14774,
    "h": 281.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#261371
secondary
#91A838
accent
#EE3ACA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261371

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

Preview Lab → · Contrast checker → · Palette generator →

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