#260841#260841

#260841 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.100 H 302.8°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#260841
RGBrgb(38, 8, 65)
HSLhsl(272, 78%, 14%)
HSVhsv(272, 88%, 25%)
CMYKcmyk(41.5%, 87.7%, 0%, 74.5%)
CIE-LABlab(8.72, 27.72, -29.43)
CIE-LCHlch(8.72, 40.43, 313.28°)
OKLaboklab(22.57% 0.0542 -0.084)
OKLCHoklch(22.57% 0.1 302.8)
XYZxyz(1.8401, 0.9674, 5.0898)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260841 #234108
analogous
#0A0841 #260841 #410840
triadic
#260841 #412608 #084126
tetradic
#260841 #410A08 #234108 #084041
square
#260841 #410A08 #234108 #084041
split-complementary
#260841 #404108 #08410A
monochromatic
#10031B #10031B #260841 #460F77 #6615AE

Accessibility & contrast

On white

17.60
#260841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#260841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260841
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260841#FFFFFF#000000##FFFFFF
##2608411.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#201724
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260841;
/* rgb */ color: rgb(38, 8, 65);
/* oklch */ color: oklch(22.6% 0.100 302.8);
Tailwind
colors: {
  custom: {
    50: '#644b76',
    500: '#260841',
    950: '#000000',
  },
}
SCSS
$custom: #260841;
$custom-light: #644b76;
$custom-dark: #000000;
JSON
{
  "hex": "#260841",
  "rgb": {
    "r": 38,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 271.579,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22566,
    "c": 0.09993,
    "h": 302.8
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#260841
secondary
#507F25
accent
#F5338F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260841

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

Preview Lab → · Contrast checker → · Palette generator →

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