#260222#260222

#260222 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.9% C 0.078 H 333.0°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#260222
RGBrgb(38, 2, 34)
HSLhsl(307, 90%, 8%)
HSVhsv(307, 95%, 15%)
CMYKcmyk(0%, 94.7%, 10.5%, 85.1%)
CIE-LABlab(5.16, 22.23, -12.14)
CIE-LCHlch(5.16, 25.33, 331.35°)
OKLaboklab(18.92% 0.0695 -0.0354)
OKLCHoklch(18.92% 0.078 333)
XYZxyz(1.1098, 0.5711, 1.5648)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260222 #022606
analogous
#180226 #260222 #260210
triadic
#260222 #222602 #022226
tetradic
#260222 #261802 #022606 #021026
square
#260222 #261802 #022606 #021026
split-complementary
#260222 #102602 #022618
monochromatic
#1D021A #1D021A #260222 #600556 #9A088A

Accessibility & contrast

On white

18.85
#260222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260222
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260222#FFFFFF#000000##FFFFFF
##2602221.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E23
Deuteranopia (green-blind)
#0D1321
Tritanopia (blue-blind)
#280510
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #260222;
/* rgb */ color: rgb(38, 2, 34);
/* oklch */ color: oklch(18.9% 0.078 333.0);
Tailwind
colors: {
  custom: {
    50: '#61475d',
    500: '#260222',
    950: '#000000',
  },
}
SCSS
$custom: #260222;
$custom-light: #61475d;
$custom-dark: #000000;
JSON
{
  "hex": "#260222",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 306.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18916,
    "c": 0.07801,
    "h": 333
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#260222
secondary
#186B22
accent
#FF4129
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #260222

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

Preview Lab → · Contrast checker → · Palette generator →

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