#260F3B#260F3B

#260F3B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.082 H 304.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#260F3B
RGBrgb(38, 15, 59)
HSLhsl(271, 59%, 15%)
HSVhsv(271, 75%, 23%)
CMYKcmyk(35.6%, 74.6%, 0%, 76.9%)
CIE-LABlab(9.56, 22.10, -23.78)
CIE-LCHlch(9.56, 32.47, 312.91°)
OKLaboklab(22.99% 0.0468 -0.0674)
OKLCHoklch(22.99% 0.082 304.8)
XYZxyz(1.7594, 1.0695, 4.2506)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F3B #243B0F
analogous
#100F3B #260F3B #3B0F3A
triadic
#260F3B #3B260F #0F3B26
tetradic
#260F3B #3B100F #243B0F #0F3A3B
square
#260F3B #3B100F #243B0F #0F3A3B
split-complementary
#260F3B #3A3B0F #0F3B10
monochromatic
#100618 #100618 #260F3B #451B6C #65289D

Accessibility & contrast

On white

17.30
#260F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F3B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F3B#FFFFFF#000000##FFFFFF
##260F3B1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#041B3A
Tritanopia (blue-blind)
#221823
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260f3b;
/* rgb */ color: rgb(38, 15, 59);
/* oklch */ color: oklch(23.0% 0.082 304.8);
Tailwind
colors: {
  custom: {
    50: '#624f71',
    500: '#260f3b',
    950: '#000000',
  },
}
SCSS
$custom: #260f3b;
$custom-light: #624f71;
$custom-dark: #000000;
JSON
{
  "hex": "#260f3b",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 271.364,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.08207,
    "h": 304.8
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#260F3B
secondary
#517530
accent
#E34590
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050208
muted
#7A787B

Preview Lab

Preview with #260F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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