#260D42#260D42

#260D42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.094 H 300.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#260D42
RGBrgb(38, 13, 66)
HSLhsl(268, 67%, 15%)
HSVhsv(268, 80%, 26%)
CMYKcmyk(42.4%, 80.3%, 0%, 74.1%)
CIE-LABlab(9.75, 25.35, -28.46)
CIE-LCHlch(9.75, 38.12, 311.69°)
OKLaboklab(23.32% 0.0483 -0.0812)
OKLCHoklch(23.32% 0.094 300.8)
XYZxyz(1.9264, 1.0933, 5.2627)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D42 #29420D
analogous
#0D0E42 #260D42 #400D42
triadic
#260D42 #42260D #0D4226
tetradic
#260D42 #420D0E #29420D #0D4240
square
#260D42 #420D0E #29420D #0D4240
split-complementary
#260D42 #42400D #0E420D
monochromatic
#0F051A #0F051A #260D42 #431775 #6121A8

Accessibility & contrast

On white

17.23
#260D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#260D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260D42
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D42#FFFFFF#000000##FFFFFF
##260D421.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#201A26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260d42;
/* rgb */ color: rgb(38, 13, 66);
/* oklch */ color: oklch(23.3% 0.094 300.8);
Tailwind
colors: {
  custom: {
    50: '#644e77',
    500: '#260d42',
    950: '#000000',
  },
}
SCSS
$custom: #260d42;
$custom-light: #644e77;
$custom-dark: #000000;
JSON
{
  "hex": "#260d42",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 268.302,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23321,
    "c": 0.09445,
    "h": 300.8
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#260D42
secondary
#587E2D
accent
#EA3E99
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260D42

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

Preview Lab → · Contrast checker → · Palette generator →

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