#260B45#260B45

#260B45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.101 H 299.5°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#260B45
RGBrgb(38, 11, 69)
HSLhsl(268, 73%, 16%)
HSVhsv(268, 84%, 27%)
CMYKcmyk(44.9%, 84.1%, 0%, 72.9%)
CIE-LABlab(9.65, 27.32, -30.74)
CIE-LCHlch(9.65, 41.12, 311.63°)
OKLaboklab(23.34% 0.0498 -0.0878)
OKLCHoklch(23.34% 0.101 299.5)
XYZxyz(1.9929, 1.0811, 5.7327)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260B45 #2A450B
analogous
#0B0D45 #260B45 #430B45
triadic
#260B45 #45260B #0B4526
tetradic
#260B45 #450B0D #2A450B #0B4543
square
#260B45 #450B0D #2A450B #0B4543
split-complementary
#260B45 #45430B #0D450B
monochromatic
#0F041A #0F041A #260B45 #43137A #601CAF

Accessibility & contrast

On white

17.27
#260B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#260B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260B45
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260B45#FFFFFF#000000##FFFFFF
##260B451.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#1F1A27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260b45;
/* rgb */ color: rgb(38, 11, 69);
/* oklch */ color: oklch(23.3% 0.101 299.5);
Tailwind
colors: {
  custom: {
    50: '#644d79',
    500: '#260b45',
    950: '#000000',
  },
}
SCSS
$custom: #260b45;
$custom-light: #644d79;
$custom-dark: #000000;
JSON
{
  "hex": "#260b45",
  "rgb": {
    "r": 38,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 267.931,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23343,
    "c": 0.10097,
    "h": 299.5
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#260B45
secondary
#59812A
accent
#EF399A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260B45

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

Preview Lab → · Contrast checker → · Palette generator →

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