#260C48#260C48

#260C48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.103 H 297.6°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#260C48
RGBrgb(38, 12, 72)
HSLhsl(266, 71%, 16%)
HSVhsv(266, 83%, 28%)
CMYKcmyk(47.2%, 83.3%, 0%, 71.8%)
CIE-LABlab(10.13, 27.68, -32.06)
CIE-LCHlch(10.13, 42.35, 310.81°)
OKLaboklab(23.77% 0.0479 -0.0917)
OKLCHoklch(23.77% 0.103 297.6)
XYZxyz(2.1002, 1.1429, 6.2396)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C48 #2E480C
analogous
#0C1048 #260C48 #440C48
triadic
#260C48 #48260C #0C4826
tetradic
#260C48 #480C10 #2E480C #0C4844
square
#260C48 #480C10 #2E480C #0C4844
split-complementary
#260C48 #48440C #10480C
monochromatic
#0E041A #0E041A #260C48 #42157C #5D1DB1

Accessibility & contrast

On white

17.09
#260C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#260C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C48
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C48#FFFFFF#000000##FFFFFF
##260C481.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#1D1C29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260c48;
/* rgb */ color: rgb(38, 12, 72);
/* oklch */ color: oklch(23.8% 0.103 297.6);
Tailwind
colors: {
  custom: {
    50: '#654e7c',
    500: '#260c48',
    950: '#000000',
  },
}
SCSS
$custom: #260c48;
$custom-light: #654e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#260c48",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 266,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23772,
    "c": 0.10347,
    "h": 297.6
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#260C48
secondary
#5E842C
accent
#EE3AA0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #260C48

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

Preview Lab → · Contrast checker → · Palette generator →

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