#260C4B#260C4B

#260C4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.107 H 296.0°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#260C4B
RGBrgb(38, 12, 75)
HSLhsl(265, 72%, 17%)
HSVhsv(265, 84%, 29%)
CMYKcmyk(49.3%, 84%, 0%, 70.6%)
CIE-LABlab(10.43, 28.58, -33.65)
CIE-LCHlch(10.43, 44.15, 310.34°)
OKLaboklab(24.08% 0.047 -0.0964)
OKLCHoklch(24.08% 0.107 296)
XYZxyz(2.2005, 1.1830, 6.7676)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C4B #314B0C
analogous
#0C124B #260C4B #460C4B
triadic
#260C4B #4B260C #0C4B26
tetradic
#260C4B #4B0C12 #314B0C #0C4B46
square
#260C4B #4B0C12 #314B0C #0C4B46
split-complementary
#260C4B #4B460C #124B0C
monochromatic
#0D041A #0D041A #260C4B #411480 #5B1DB5

Accessibility & contrast

On white

16.98
#260C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#260C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C4B
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C4B#FFFFFF#000000##FFFFFF
##260C4B1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#1C1D2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260c4b;
/* rgb */ color: rgb(38, 12, 75);
/* oklch */ color: oklch(24.1% 0.107 296.0);
Tailwind
colors: {
  custom: {
    50: '#654e7e',
    500: '#260c4b',
    950: '#000000',
  },
}
SCSS
$custom: #260c4b;
$custom-light: #654e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#260c4b",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 264.762,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24077,
    "c": 0.10724,
    "h": 296
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#260C4B
secondary
#61872C
accent
#EF39A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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