#260B41#260B41

#260B41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.096 H 302.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#260B41
RGBrgb(38, 11, 65)
HSLhsl(270, 71%, 15%)
HSVhsv(270, 83%, 25%)
CMYKcmyk(41.5%, 83.1%, 0%, 74.5%)
CIE-LABlab(9.26, 26.15, -28.54)
CIE-LCHlch(9.26, 38.71, 312.50°)
OKLaboklab(22.95% 0.0509 -0.0814)
OKLCHoklch(22.95% 0.096 302)
XYZxyz(1.8729, 1.0331, 5.1007)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260B41 #26410B
analogous
#0B0B41 #260B41 #410B41
triadic
#260B41 #41260B #0B4126
tetradic
#260B41 #410B0B #26410B #0B4141
square
#260B41 #410B0B #26410B #0B4141
split-complementary
#260B41 #41410B #0B410B
monochromatic
#0F041A #0F041A #260B41 #451475 #631DAA

Accessibility & contrast

On white

17.40
#260B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#260B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260B41
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260B41#FFFFFF#000000##FFFFFF
##260B411.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#201825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260b41;
/* rgb */ color: rgb(38, 11, 65);
/* oklch */ color: oklch(23.0% 0.096 302.0);
Tailwind
colors: {
  custom: {
    50: '#644d76',
    500: '#260b41',
    950: '#000000',
  },
}
SCSS
$custom: #260b41;
$custom-light: #644d76;
$custom-dark: #000000;
JSON
{
  "hex": "#260b41",
  "rgb": {
    "r": 38,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 270,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.09597,
    "h": 302
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#260B41
secondary
#547E2A
accent
#EE3A94
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260B41

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

Preview Lab → · Contrast checker → · Palette generator →

#260B41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva