#260221#260221

#260221 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.8% C 0.077 H 334.3°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#260221
RGBrgb(38, 2, 33)
HSLhsl(308, 90%, 8%)
HSVhsv(308, 95%, 15%)
CMYKcmyk(0%, 94.7%, 13.2%, 85.1%)
CIE-LABlab(5.11, 21.97, -11.45)
CIE-LCHlch(5.11, 24.77, 332.48°)
OKLaboklab(18.85% 0.0695 -0.0335)
OKLCHoklch(18.85% 0.077 334.3)
XYZxyz(1.0956, 0.5654, 1.4900)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260221 #022607
analogous
#190226 #260221 #26020F
triadic
#260221 #212602 #022126
tetradic
#260221 #261902 #022607 #020F26
square
#260221 #261902 #022607 #020F26
split-complementary
#260221 #0F2602 #022619
monochromatic
#1D0219 #1D0219 #260221 #600553 #9A0886

Accessibility & contrast

On white

18.87
#260221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#260221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260221
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260221#FFFFFF#000000##FFFFFF
##2602211.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D22
Deuteranopia (green-blind)
#0D1320
Tritanopia (blue-blind)
#280410
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #260221;
/* rgb */ color: rgb(38, 2, 33);
/* oklch */ color: oklch(18.8% 0.077 334.3);
Tailwind
colors: {
  custom: {
    50: '#61475c',
    500: '#260221',
    950: '#000000',
  },
}
SCSS
$custom: #260221;
$custom-light: #61475c;
$custom-dark: #000000;
JSON
{
  "hex": "#260221",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 308.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18845,
    "c": 0.07713,
    "h": 334.3
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#260221
secondary
#186B24
accent
#FF4729
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #260221

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

Preview Lab → · Contrast checker → · Palette generator →

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