#260D40#260D40

#260D40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.092 H 302.0°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#260D40
RGBrgb(38, 13, 64)
HSLhsl(269, 66%, 15%)
HSVhsv(269, 80%, 25%)
CMYKcmyk(40.6%, 79.7%, 0%, 74.9%)
CIE-LABlab(9.56, 24.76, -27.34)
CIE-LCHlch(9.56, 36.89, 312.16°)
OKLaboklab(23.13% 0.0487 -0.0779)
OKLCHoklch(23.13% 0.092 302)
XYZxyz(1.8684, 1.0701, 4.9576)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D40 #27400D
analogous
#0D0D40 #260D40 #400D40
triadic
#260D40 #40260D #0D4026
tetradic
#260D40 #400D0D #27400D #0D4040
square
#260D40 #400D0D #27400D #0D4040
split-complementary
#260D40 #40400D #0D400D
monochromatic
#0F0519 #0F0519 #260D40 #441773 #6222A6

Accessibility & contrast

On white

17.30
#260D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260D40
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D40#FFFFFF#000000##FFFFFF
##260D401.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#211925
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260d40;
/* rgb */ color: rgb(38, 13, 64);
/* oklch */ color: oklch(23.1% 0.092 302.0);
Tailwind
colors: {
  custom: {
    50: '#634e75',
    500: '#260d40',
    950: '#000000',
  },
}
SCSS
$custom: #260d40;
$custom-light: #634e75;
$custom-dark: #000000;
JSON
{
  "hex": "#260d40",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 269.412,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23134,
    "c": 0.09186,
    "h": 302
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#260D40
secondary
#557C2D
accent
#E93F96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #260D40

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

Preview Lab → · Contrast checker → · Palette generator →

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