#260C4F#260C4F

#260C4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.112 H 294.0°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#260C4F
RGBrgb(38, 12, 79)
HSLhsl(263, 74%, 18%)
HSVhsv(263, 85%, 31%)
CMYKcmyk(51.9%, 84.8%, 0%, 69%)
CIE-LABlab(10.85, 29.78, -35.74)
CIE-LCHlch(10.85, 46.52, 309.80°)
OKLaboklab(24.49% 0.0457 -0.1025)
OKLCHoklch(24.49% 0.112 294)
XYZxyz(2.3417, 1.2395, 7.5115)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C4F #354F0C
analogous
#0C134F #260C4F #470C4F
triadic
#260C4F #4F260C #0C4F26
tetradic
#260C4F #4F0C13 #354F0C #0C4F47
square
#260C4F #4F0C13 #354F0C #0C4F47
split-complementary
#260C4F #4F470C #134F0C
monochromatic
#0D041B #0D041B #260C4F #401484 #591CB9

Accessibility & contrast

On white

16.83
#260C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#260C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C4F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C4F#FFFFFF#000000##FFFFFF
##260C4F1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#1A1F2D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #260c4f;
/* rgb */ color: rgb(38, 12, 79);
/* oklch */ color: oklch(24.5% 0.112 294.0);
Tailwind
colors: {
  custom: {
    50: '#664e81',
    500: '#260c4f',
    950: '#000000',
  },
}
SCSS
$custom: #260c4f;
$custom-light: #664e81;
$custom-dark: #000000;
JSON
{
  "hex": "#260c4f",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 263.284,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.11225,
    "h": 294
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#260C4F
secondary
#668B2C
accent
#F038A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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