#260B42#260B42

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

Color values

HEX#260B42
RGBrgb(38, 11, 66)
HSLhsl(269, 71%, 15%)
HSVhsv(269, 83%, 26%)
CMYKcmyk(42.4%, 83.3%, 0%, 74.1%)
CIE-LABlab(9.36, 26.45, -29.09)
CIE-LCHlch(9.36, 39.32, 312.27°)
OKLaboklab(23.05% 0.0506 -0.083)
OKLCHoklch(23.05% 0.097 301.4)
XYZxyz(1.9021, 1.0447, 5.2546)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260B42 #27420B
analogous
#0B0B42 #260B42 #420B42
triadic
#260B42 #42260B #0B4226
tetradic
#260B42 #420B0B #27420B #0B4242
square
#260B42 #420B0B #27420B #0B4242
split-complementary
#260B42 #42420B #0B420B
monochromatic
#0F041A #0F041A #260B42 #441476 #621CAB

Accessibility & contrast

On white

17.37
#260B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260B42
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260B42#FFFFFF#000000##FFFFFF
##260B421.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#201926
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260b42;
/* rgb */ color: rgb(38, 11, 66);
/* oklch */ color: oklch(23.0% 0.097 301.4);
Tailwind
colors: {
  custom: {
    50: '#644d77',
    500: '#260b42',
    950: '#000000',
  },
}
SCSS
$custom: #260b42;
$custom-light: #644d77;
$custom-dark: #000000;
JSON
{
  "hex": "#260b42",
  "rgb": {
    "r": 38,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 269.455,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23048,
    "c": 0.09722,
    "h": 301.4
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#260B42
secondary
#557F2A
accent
#EE3A96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260B42

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

Preview Lab → · Contrast checker → · Palette generator →

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