#261576#261576

#261576 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.152 H 279.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#261576
RGBrgb(38, 21, 118)
HSLhsl(251, 70%, 27%)
HSVhsv(251, 82%, 46%)
CMYKcmyk(67.8%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.78, 37.38, -51.90)
CIE-LCHlch(16.78, 63.96, 305.76°)
OKLaboklab(29.93% 0.0263 -0.1498)
OKLCHoklch(29.93% 0.152 279.9)
XYZxyz(4.3365, 2.2561, 17.3430)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261576 #657615
analogous
#153576 #261576 #561576
triadic
#261576 #762615 #157626
tetradic
#261576 #761535 #657615 #157656
square
#261576 #761535 #657615 #157656
split-complementary
#261576 #765615 #357615
monochromatic
#08051A #150C42 #261576 #371EAA #4A2CD9

Accessibility & contrast

On white

14.47
#261576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#261576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261576
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261576#FFFFFF#000000##FFFFFF
##2615761.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261576;
/* rgb */ color: rgb(38, 21, 118);
/* oklch */ color: oklch(29.9% 0.152 279.9);
Tailwind
colors: {
  custom: {
    50: '#6d569f',
    500: '#261576',
    950: '#000000',
  },
}
SCSS
$custom: #261576;
$custom-light: #6d569f;
$custom-dark: #000000;
JSON
{
  "hex": "#261576",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 250.515,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29926,
    "c": 0.15213,
    "h": 279.9
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#261576
secondary
#98AC3B
accent
#ED3BCE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261576

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

Preview Lab → · Contrast checker → · Palette generator →

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