#261D3F#261D3F

#261D3F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.0% C 0.062 H 293.8°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#261D3F
RGBrgb(38, 29, 63)
HSLhsl(256, 37%, 18%)
HSVhsv(256, 54%, 25%)
CMYKcmyk(39.7%, 54%, 0%, 75.3%)
CIE-LABlab(13.53, 13.81, -20.26)
CIE-LCHlch(13.53, 24.52, 304.28°)
OKLaboklab(26.02% 0.0252 -0.0571)
OKLCHoklch(26.02% 0.062 293.8)
XYZxyz(2.1357, 1.6496, 4.9076)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D3F #363F1D
analogous
#1D253F #261D3F #371D3F
triadic
#261D3F #3F261D #1D3F26
tetradic
#261D3F #3F1D25 #363F1D #1D3F37
square
#261D3F #3F1D25 #363F1D #1D3F37
split-complementary
#261D3F #3F371D #253F1D
monochromatic
#0D0A15 #0D0A15 #261D3F #3F3069 #594493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261D3F#FFFFFF#000000##FFFFFF
##261D3F1.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)
#112340
Deuteranopia (green-blind)
#13223E
Tritanopia (blue-blind)
#20242B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261d3f;
/* rgb */ color: rgb(38, 29, 63);
/* oklch */ color: oklch(26.0% 0.062 293.8);
Tailwind
colors: {
  custom: {
    50: '#625974',
    500: '#261d3f',
    950: '#000000',
  },
}
SCSS
$custom: #261d3f;
$custom-light: #625974;
$custom-dark: #000000;
JSON
{
  "hex": "#261d3f",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 255.882,
    "s": 36.957,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26016,
    "c": 0.06243,
    "h": 293.8
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#261D3F
secondary
#677444
accent
#CD5BAF
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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