#260C42#260C42

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

Color values

HEX#260C42
RGBrgb(38, 12, 66)
HSLhsl(269, 69%, 15%)
HSVhsv(269, 82%, 26%)
CMYKcmyk(42.4%, 81.8%, 0%, 74.1%)
CIE-LABlab(9.55, 25.91, -28.79)
CIE-LCHlch(9.55, 38.73, 311.99°)
OKLaboklab(23.18% 0.0495 -0.0821)
OKLCHoklch(23.18% 0.096 301.1)
XYZxyz(1.9139, 1.0683, 5.2586)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C42 #28420C
analogous
#0C0D42 #260C42 #410C42
triadic
#260C42 #42260C #0C4226
tetradic
#260C42 #420C0D #28420C #0C4241
square
#260C42 #420C0D #28420C #0C4241
split-complementary
#260C42 #42410C #0D420C
monochromatic
#0F051A #0F051A #260C42 #441576 #621FAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##260C42#FFFFFF#000000##FFFFFF
##260C421.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)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#201926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260c42;
/* rgb */ color: rgb(38, 12, 66);
/* oklch */ color: oklch(23.2% 0.096 301.1);
Tailwind
colors: {
  custom: {
    50: '#644d77',
    500: '#260c42',
    950: '#000000',
  },
}
SCSS
$custom: #260c42;
$custom-light: #644d77;
$custom-dark: #000000;
JSON
{
  "hex": "#260c42",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 268.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23182,
    "c": 0.09586,
    "h": 301.1
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#260C42
secondary
#567E2C
accent
#EC3C97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260C42

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

Preview Lab → · Contrast checker → · Palette generator →

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