#261F35#261F35

#261F35 is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.8% C 0.041 H 298.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#261F35
RGBrgb(38, 31, 53)
HSLhsl(259, 26%, 16%)
HSVhsv(259, 42%, 21%)
CMYKcmyk(28.3%, 41.5%, 0%, 79.2%)
CIE-LABlab(13.53, 9.18, -13.19)
CIE-LCHlch(13.53, 16.07, 304.85°)
OKLaboklab(25.81% 0.0195 -0.0366)
OKLCHoklch(25.81% 0.041 298.1)
XYZxyz(1.9318, 1.6491, 3.5840)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F35 #2E351F
analogous
#1F2335 #261F35 #311F35
triadic
#261F35 #35261F #1F3526
tetradic
#261F35 #351F23 #2E351F #1F3531
square
#261F35 #351F23 #2E351F #1F3531
split-complementary
#261F35 #35311F #23351F
monochromatic
#0E0B13 #0E0B13 #261F35 #42365C #5D4C82

Accessibility & contrast

On white

15.79
#261F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#261F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F35
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F35#FFFFFF#000000##FFFFFF
##261F351.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2336
Deuteranopia (green-blind)
#1B2234
Tritanopia (blue-blind)
#232327
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261f35;
/* rgb */ color: rgb(38, 31, 53);
/* oklch */ color: oklch(25.8% 0.041 298.1);
Tailwind
colors: {
  custom: {
    50: '#615a6c',
    500: '#261f35',
    950: '#000000',
  },
}
SCSS
$custom: #261f35;
$custom-light: #615a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#261f35",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 259.091,
    "s": 26.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25814,
    "c": 0.04147,
    "h": 298.1
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#261F35
secondary
#5E6848
accent
#C365A5
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050307
muted
#79787A

Preview Lab

Preview with #261F35

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

Preview Lab → · Contrast checker → · Palette generator →

#261F35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva