#260336#260336

#260336 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.8% C 0.095 H 312.3°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#260336
RGBrgb(38, 3, 54)
HSLhsl(281, 89%, 11%)
HSVhsv(281, 94%, 21%)
CMYKcmyk(29.6%, 94.4%, 0%, 78.8%)
CIE-LABlab(6.72, 27.43, -24.75)
CIE-LCHlch(6.72, 36.95, 317.94°)
OKLaboklab(20.79% 0.0643 -0.0705)
OKLCHoklch(20.79% 0.095 312.3)
XYZxyz(1.4976, 0.7436, 3.5539)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260336 #133603
analogous
#0C0336 #260336 #36032C
triadic
#260336 #362603 #033626
tetradic
#260336 #360C03 #133603 #032C36
square
#260336 #360C03 #133603 #032C36
split-complementary
#260336 #2C3603 #03360C
monochromatic
#14021D #14021D #260336 #4F0670 #7809AA

Accessibility & contrast

On white

18.28
#260336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#260336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260336
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260336#FFFFFF#000000##FFFFFF
##2603361.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#240F1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #260336;
/* rgb */ color: rgb(38, 3, 54);
/* oklch */ color: oklch(20.8% 0.095 312.3);
Tailwind
colors: {
  custom: {
    50: '#63486d',
    500: '#260336',
    950: '#000000',
  },
}
SCSS
$custom: #260336;
$custom-light: #63486d;
$custom-dark: #000000;
JSON
{
  "hex": "#260336",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 281.176,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20786,
    "c": 0.09542,
    "h": 312.3
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#260336
secondary
#39791C
accent
#FF296C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050007
muted
#7A777A

Preview Lab

Preview with #260336

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

Preview Lab → · Contrast checker → · Palette generator →

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