#260C49#260C49

#260C49 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.105 H 297.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#260C49
RGBrgb(38, 12, 73)
HSLhsl(266, 72%, 17%)
HSVhsv(266, 84%, 29%)
CMYKcmyk(47.9%, 83.6%, 0%, 71.4%)
CIE-LABlab(10.23, 27.98, -32.59)
CIE-LCHlch(10.23, 42.96, 310.65°)
OKLaboklab(23.87% 0.0476 -0.0933)
OKLCHoklch(23.87% 0.105 297)
XYZxyz(2.1331, 1.1560, 6.4128)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C49 #2F490C
analogous
#0C1049 #260C49 #450C49
triadic
#260C49 #49260C #0C4926
tetradic
#260C49 #490C10 #2F490C #0C4945
square
#260C49 #490C10 #2F490C #0C4945
split-complementary
#260C49 #49450C #10490C
monochromatic
#0E041A #0E041A #260C49 #41157E #5D1DB2

Accessibility & contrast

On white

17.06
#260C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260C49
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C49#FFFFFF#000000##FFFFFF
##260C491.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#1D1C2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260c49;
/* rgb */ color: rgb(38, 12, 73);
/* oklch */ color: oklch(23.9% 0.105 297.0);
Tailwind
colors: {
  custom: {
    50: '#654e7c',
    500: '#260c49',
    950: '#000000',
  },
}
SCSS
$custom: #260c49;
$custom-light: #654e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#260c49",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 265.574,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.10473,
    "h": 297
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#260C49
secondary
#5F852C
accent
#EE39A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #260C49

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

Preview Lab → · Contrast checker → · Palette generator →

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