#261572#261572

#261572 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.147 H 280.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#261572
RGBrgb(38, 21, 114)
HSLhsl(251, 69%, 26%)
HSVhsv(251, 82%, 45%)
CMYKcmyk(66.7%, 81.6%, 0%, 55.3%)
CIE-LABlab(16.32, 36.10, -50.07)
CIE-LCHlch(16.32, 61.73, 305.79°)
OKLaboklab(29.47% 0.0275 -0.1445)
OKLCHoklch(29.47% 0.147 280.8)
XYZxyz(4.1038, 2.1630, 16.1176)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261572 #617215
analogous
#153372 #261572 #551572
triadic
#261572 #722615 #157226
tetradic
#261572 #721533 #617215 #157255
square
#261572 #721533 #617215 #157255
split-complementary
#261572 #725515 #337215
monochromatic
#09051A #150B3E #261572 #371FA6 #4A2AD8

Accessibility & contrast

On white

14.66
#261572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261572
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261572#FFFFFF#000000##FFFFFF
##2615721.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261572;
/* rgb */ color: rgb(38, 21, 114);
/* oklch */ color: oklch(29.5% 0.147 280.8);
Tailwind
colors: {
  custom: {
    50: '#6c559c',
    500: '#261572',
    950: '#000000',
  },
}
SCSS
$custom: #261572;
$custom-light: #6c559c;
$custom-dark: #000000;
JSON
{
  "hex": "#261572",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 250.968,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.1471,
    "h": 280.8
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#261572
secondary
#94A83B
accent
#EC3CCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261572

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

Preview Lab → · Contrast checker → · Palette generator →

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