#260C51#260C51

#260C51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.115 H 293.1°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#260C51
RGBrgb(38, 12, 81)
HSLhsl(263, 74%, 18%)
HSVhsv(263, 85%, 32%)
CMYKcmyk(53.1%, 85.2%, 0%, 68.2%)
CIE-LABlab(11.06, 30.38, -36.77)
CIE-LCHlch(11.06, 47.70, 309.56°)
OKLaboklab(24.71% 0.045 -0.1055)
OKLCHoklch(24.71% 0.115 293.1)
XYZxyz(2.4156, 1.2690, 7.9007)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C51 #37510C
analogous
#0C1451 #260C51 #480C51
triadic
#260C51 #51260C #0C5126
tetradic
#260C51 #510C14 #37510C #0C5148
square
#260C51 #510C14 #37510C #0C5148
split-complementary
#260C51 #51480C #14510C
monochromatic
#0D041B #0D041C #260C51 #3F1486 #581CBC

Accessibility & contrast

On white

16.75
#260C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260C51
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C51#FFFFFF#000000##FFFFFF
##260C511.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#181F2E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #260c51;
/* rgb */ color: rgb(38, 12, 81);
/* oklch */ color: oklch(24.7% 0.115 293.1);
Tailwind
colors: {
  custom: {
    50: '#664e83',
    500: '#260c51',
    950: '#000000',
  },
}
SCSS
$custom: #260c51;
$custom-light: #664e83;
$custom-dark: #000000;
JSON
{
  "hex": "#260c51",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 262.609,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24706,
    "c": 0.11474,
    "h": 293.1
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#260C51
secondary
#688C2C
accent
#F137AB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260C51

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

Preview Lab → · Contrast checker → · Palette generator →

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