#260331#260331

#260331 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.090 H 316.7°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#260331
RGBrgb(38, 3, 49)
HSLhsl(286, 88%, 10%)
HSVhsv(286, 94%, 19%)
CMYKcmyk(22.4%, 93.9%, 0%, 80.8%)
CIE-LABlab(6.31, 25.98, -21.71)
CIE-LCHlch(6.31, 33.86, 320.11°)
OKLaboklab(20.32% 0.0657 -0.0619)
OKLCHoklch(20.32% 0.09 316.7)
XYZxyz(1.3862, 0.6990, 2.9670)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260331 #0E3103
analogous
#0F0331 #260331 #310325
triadic
#260331 #312603 #033126
tetradic
#260331 #310F03 #0E3103 #032531
square
#260331 #310F03 #0E3103 #032531
split-complementary
#260331 #253103 #03310F
monochromatic
#16021D #16021D #260331 #53076B #7F0AA4

Accessibility & contrast

On white

18.42
#260331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#260331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260331
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260331#FFFFFF#000000##FFFFFF
##2603311.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#031530
Tritanopia (blue-blind)
#250D1A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #260331;
/* rgb */ color: rgb(38, 3, 49);
/* oklch */ color: oklch(20.3% 0.090 316.7);
Tailwind
colors: {
  custom: {
    50: '#624769',
    500: '#260331',
    950: '#000000',
  },
}
SCSS
$custom: #260331;
$custom-light: #624769;
$custom-dark: #000000;
JSON
{
  "hex": "#260331",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 285.652,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20319,
    "c": 0.09026,
    "h": 316.7
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#260331
secondary
#31741B
accent
#FF295C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #260331

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

Preview Lab → · Contrast checker → · Palette generator →

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