#260F45#260F45

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

Color values

HEX#260F45
RGBrgb(38, 15, 69)
HSLhsl(266, 64%, 16%)
HSVhsv(266, 78%, 27%)
CMYKcmyk(44.9%, 78.3%, 0%, 72.9%)
CIE-LABlab(10.43, 25.10, -29.46)
CIE-LCHlch(10.43, 38.70, 310.44°)
OKLaboklab(23.9% 0.0453 -0.0841)
OKLCHoklch(23.9% 0.096 298.3)
XYZxyz(2.0441, 1.1834, 5.7498)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F45 #2E450F
analogous
#0F1345 #260F45 #410F45
triadic
#260F45 #45260F #0F4526
tetradic
#260F45 #450F13 #2E450F #0F4541
square
#260F45 #450F13 #2E450F #0F4541
split-complementary
#260F45 #45410F #13450F
monochromatic
#0E0519 #0E0519 #260F45 #421A77 #5D25AA

Accessibility & contrast

On white

16.98
#260F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#260F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F45
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F45#FFFFFF#000000##FFFFFF
##260F451.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#1E1C28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260f45;
/* rgb */ color: rgb(38, 15, 69);
/* oklch */ color: oklch(23.9% 0.096 298.3);
Tailwind
colors: {
  custom: {
    50: '#644f79',
    500: '#260f45',
    950: '#000000',
  },
}
SCSS
$custom: #260f45;
$custom-light: #644f79;
$custom-dark: #000000;
JSON
{
  "hex": "#260f45",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 265.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23898,
    "c": 0.09552,
    "h": 298.3
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#260F45
secondary
#5E7F30
accent
#E741A0
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #260F45

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

Preview Lab → · Contrast checker → · Palette generator →

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