#260C41#260C41

#260C41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.095 H 301.7°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#260C41
RGBrgb(38, 12, 65)
HSLhsl(269, 69%, 15%)
HSVhsv(269, 82%, 25%)
CMYKcmyk(41.5%, 81.5%, 0%, 74.5%)
CIE-LABlab(9.46, 25.61, -28.23)
CIE-LCHlch(9.46, 38.12, 312.22°)
OKLaboklab(23.09% 0.0497 -0.0805)
OKLCHoklch(23.09% 0.095 301.7)
XYZxyz(1.8847, 1.0567, 5.1047)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C41 #27410C
analogous
#0C0C41 #260C41 #400C41
triadic
#260C41 #41260C #0C4126
tetradic
#260C41 #410C0C #27410C #0C4140
square
#260C41 #410C0C #27410C #0C4140
split-complementary
#260C41 #41400C #0C410C
monochromatic
#0F051A #0F051A #260C41 #441675 #621FA8

Accessibility & contrast

On white

17.34
#260C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#260C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C41
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C41#FFFFFF#000000##FFFFFF
##260C411.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#201925
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260c41;
/* rgb */ color: rgb(38, 12, 65);
/* oklch */ color: oklch(23.1% 0.095 301.7);
Tailwind
colors: {
  custom: {
    50: '#644d76',
    500: '#260c41',
    950: '#000000',
  },
}
SCSS
$custom: #260c41;
$custom-light: #644d76;
$custom-dark: #000000;
JSON
{
  "hex": "#260c41",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 269.434,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23086,
    "c": 0.09458,
    "h": 301.7
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#260C41
secondary
#557D2C
accent
#EC3C96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260C41

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

Preview Lab → · Contrast checker → · Palette generator →

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