#261F37#261F37

#261F37 is a dark, muted violet. Relative luminance 0.017; OKLCH L 25.9% C 0.045 H 296.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#261F37
RGBrgb(38, 31, 55)
HSLhsl(258, 28%, 17%)
HSVhsv(258, 44%, 22%)
CMYKcmyk(30.9%, 43.6%, 0%, 78.4%)
CIE-LABlab(13.64, 9.80, -14.44)
CIE-LCHlch(13.64, 17.45, 304.16°)
OKLaboklab(25.94% 0.0201 -0.0402)
OKLCHoklch(25.94% 0.045 296.6)
XYZxyz(1.9787, 1.6679, 3.8314)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F37 #30371F
analogous
#1F2437 #261F37 #321F37
triadic
#261F37 #37261F #1F3726
tetradic
#261F37 #371F24 #30371F #1F3732
square
#261F37 #371F24 #30371F #1F3732
split-complementary
#261F37 #37321F #24371F
monochromatic
#0E0B14 #0E0B14 #261F37 #41355E #5C4B85

Accessibility & contrast

On white

15.75
#261F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F37
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F37#FFFFFF#000000##FFFFFF
##261F371.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261f37;
/* rgb */ color: rgb(38, 31, 55);
/* oklch */ color: oklch(25.9% 0.045 296.6);
Tailwind
colors: {
  custom: {
    50: '#615a6e',
    500: '#261f37',
    950: '#000000',
  },
}
SCSS
$custom: #261f37;
$custom-light: #615a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#261f37",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 257.5,
    "s": 27.907,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25936,
    "c": 0.04493,
    "h": 296.6
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#261F37
secondary
#606A48
accent
#C464A8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050307
muted
#79787A

Preview Lab

Preview with #261F37

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

Preview Lab → · Contrast checker → · Palette generator →

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