#260B40#260B40

#260B40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.095 H 302.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#260B40
RGBrgb(38, 11, 64)
HSLhsl(271, 71%, 15%)
HSVhsv(271, 83%, 25%)
CMYKcmyk(40.6%, 82.8%, 0%, 74.9%)
CIE-LABlab(9.17, 25.87, -27.98)
CIE-LCHlch(9.17, 38.10, 312.75°)
OKLaboklab(22.86% 0.0511 -0.0797)
OKLCHoklch(22.86% 0.095 302.7)
XYZxyz(1.8442, 1.0216, 4.9495)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260B40 #25400B
analogous
#0B0B40 #260B40 #400B40
triadic
#260B40 #40260B #0B4026
tetradic
#260B40 #400B0B #25400B #0B4040
square
#260B40 #400B0B #25400B #0B4040
split-complementary
#260B40 #40400B #0B400B
monochromatic
#10041A #10041A #260B40 #451474 #641DA8

Accessibility & contrast

On white

17.44
#260B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260B40
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260B40#FFFFFF#000000##FFFFFF
##260B401.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#211824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260b40;
/* rgb */ color: rgb(38, 11, 64);
/* oklch */ color: oklch(22.9% 0.095 302.7);
Tailwind
colors: {
  custom: {
    50: '#634d75',
    500: '#260b40',
    950: '#000000',
  },
}
SCSS
$custom: #260b40;
$custom-light: #634d75;
$custom-dark: #000000;
JSON
{
  "hex": "#260b40",
  "rgb": {
    "r": 38,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 270.566,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22855,
    "c": 0.09471,
    "h": 302.7
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#260B40
secondary
#537D2A
accent
#ED3A92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #260B40

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

Preview Lab → · Contrast checker → · Palette generator →

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