#261D3E#261D3E

#261D3E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.9% C 0.061 H 294.3°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#261D3E
RGBrgb(38, 29, 62)
HSLhsl(256, 36%, 18%)
HSVhsv(256, 53%, 24%)
CMYKcmyk(38.7%, 53.2%, 0%, 75.7%)
CIE-LABlab(13.46, 13.48, -19.66)
CIE-LCHlch(13.46, 23.84, 304.44°)
OKLaboklab(25.94% 0.025 -0.0554)
OKLCHoklch(25.94% 0.061 294.3)
XYZxyz(2.1080, 1.6386, 4.7617)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D3E #353E1D
analogous
#1D243E #261D3E #361D3E
triadic
#261D3E #3E261D #1D3E26
tetradic
#261D3E #3E1D24 #353E1D #1D3E36
square
#261D3E #3E1D24 #353E1D #1D3E36
split-complementary
#261D3E #3E361D #243E1D
monochromatic
#0D0A15 #0D0A15 #261D3E #403168 #594491

Accessibility & contrast

On white

15.82
#261D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D3E
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D3E#FFFFFF#000000##FFFFFF
##261D3E1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233F
Deuteranopia (green-blind)
#13223D
Tritanopia (blue-blind)
#20232A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261d3e;
/* rgb */ color: rgb(38, 29, 62);
/* oklch */ color: oklch(25.9% 0.061 294.3);
Tailwind
colors: {
  custom: {
    50: '#625973',
    500: '#261d3e',
    950: '#000000',
  },
}
SCSS
$custom: #261d3e;
$custom-light: #625973;
$custom-dark: #000000;
JSON
{
  "hex": "#261d3e",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 256.364,
    "s": 36.264,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25944,
    "c": 0.06078,
    "h": 294.3
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#261D3E
secondary
#667344
accent
#CC5CAE
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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