#261E37#261E37

#261E37 is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.7% C 0.047 H 297.7°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#261E37
RGBrgb(38, 30, 55)
HSLhsl(259, 29%, 17%)
HSVhsv(259, 45%, 22%)
CMYKcmyk(30.9%, 45.5%, 0%, 78.4%)
CIE-LABlab(13.33, 10.53, -14.92)
CIE-LCHlch(13.33, 18.26, 305.21°)
OKLaboklab(25.7% 0.0219 -0.0416)
OKLCHoklch(25.7% 0.047 297.7)
XYZxyz(1.9530, 1.6164, 3.8228)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E37 #2F371E
analogous
#1E2337 #261E37 #331E37
triadic
#261E37 #37261E #1E3726
tetradic
#261E37 #371E23 #2F371E #1E3733
square
#261E37 #371E23 #2F371E #1E3733
split-complementary
#261E37 #37331E #23371E
monochromatic
#0E0B14 #0E0B14 #261E37 #41345F #5D4986

Accessibility & contrast

On white

15.87
#261E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#261E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E37
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E37#FFFFFF#000000##FFFFFF
##261E371.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172238
Deuteranopia (green-blind)
#192236
Tritanopia (blue-blind)
#232227
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261e37;
/* rgb */ color: rgb(38, 30, 55);
/* oklch */ color: oklch(25.7% 0.047 297.7);
Tailwind
colors: {
  custom: {
    50: '#61596e',
    500: '#261e37',
    950: '#000000',
  },
}
SCSS
$custom: #261e37;
$custom-light: #61596e;
$custom-dark: #000000;
JSON
{
  "hex": "#261e37",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 55
  },
  "hsl": {
    "h": 259.2,
    "s": 29.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25702,
    "c": 0.04698,
    "h": 297.7
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#261E37
secondary
#5F6B46
accent
#C662A6
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050307
muted
#79787A

Preview Lab

Preview with #261E37

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

Preview Lab → · Contrast checker → · Palette generator →

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