#260F37#260F37

#260F37 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.077 H 307.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#260F37
RGBrgb(38, 15, 55)
HSLhsl(275, 57%, 14%)
HSVhsv(275, 73%, 22%)
CMYKcmyk(30.9%, 72.7%, 0%, 78.4%)
CIE-LABlab(9.24, 20.94, -21.42)
CIE-LCHlch(9.24, 29.95, 314.36°)
OKLaboklab(22.66% 0.0471 -0.0605)
OKLCHoklch(22.66% 0.077 307.9)
XYZxyz(1.6596, 1.0296, 3.7250)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F37 #20370F
analogous
#120F37 #260F37 #370F34
triadic
#260F37 #37260F #0F3726
tetradic
#260F37 #37120F #20370F #0F3437
square
#260F37 #37120F #20370F #0F3437
split-complementary
#260F37 #34370F #0F3712
monochromatic
#110718 #110718 #260F37 #471C67 #682997

Accessibility & contrast

On white

17.41
#260F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F37
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F37#FFFFFF#000000##FFFFFF
##260F371.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#231721
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260f37;
/* rgb */ color: rgb(38, 15, 55);
/* oklch */ color: oklch(22.7% 0.077 307.9);
Tailwind
colors: {
  custom: {
    50: '#624f6e',
    500: '#260f37',
    950: '#000000',
  },
}
SCSS
$custom: #260f37;
$custom-light: #624f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#260f37",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 274.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22658,
    "c": 0.07664,
    "h": 307.9
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#260F37
secondary
#4C7131
accent
#E04788
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #260F37

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

Preview Lab → · Contrast checker → · Palette generator →

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