#260228#260228

#260228 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.084 H 325.9°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#260228
RGBrgb(38, 2, 40)
HSLhsl(297, 90%, 8%)
HSVhsv(297, 95%, 16%)
CMYKcmyk(5%, 95%, 0%, 84.3%)
CIE-LABlab(5.50, 23.89, -16.24)
CIE-LCHlch(5.50, 28.88, 325.80°)
OKLaboklab(19.38% 0.0692 -0.0468)
OKLCHoklch(19.38% 0.084 325.9)
XYZxyz(1.2040, 0.6088, 2.0612)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260228 #042802
analogous
#130228 #260228 #280217
triadic
#260228 #282602 #022826
tetradic
#260228 #281302 #042802 #021728
square
#260228 #281302 #042802 #021728
split-complementary
#260228 #172802 #022813
monochromatic
#1C011D #1C011D #260228 #5D0562 #95089D

Accessibility & contrast

On white

18.72
#260228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#260228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260228
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260228#FFFFFF#000000##FFFFFF
##2602281.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#091427
Tritanopia (blue-blind)
#270714
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #260228;
/* rgb */ color: rgb(38, 2, 40);
/* oklch */ color: oklch(19.4% 0.084 325.9);
Tailwind
colors: {
  custom: {
    50: '#624762',
    500: '#260228',
    950: '#000000',
  },
}
SCSS
$custom: #260228;
$custom-light: #624762;
$custom-dark: #000000;
JSON
{
  "hex": "#260228",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 40
  },
  "hsl": {
    "h": 296.842,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19377,
    "c": 0.08353,
    "h": 325.9
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#260228
secondary
#1D6D19
accent
#FF2934
background
#F5F4F5
surface
#EAE6EA
border
#C6C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #260228

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

Preview Lab → · Contrast checker → · Palette generator →

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