#261E3E#261E3E

#261E3E is a dark, muted violet. Relative luminance 0.017; OKLCH L 26.2% C 0.059 H 293.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#261E3E
RGBrgb(38, 30, 62)
HSLhsl(255, 35%, 18%)
HSVhsv(255, 52%, 24%)
CMYKcmyk(38.7%, 51.6%, 0%, 75.7%)
CIE-LABlab(13.76, 12.76, -19.20)
CIE-LCHlch(13.76, 23.05, 303.61°)
OKLaboklab(26.17% 0.0234 -0.054)
OKLCHoklch(26.17% 0.059 293.4)
XYZxyz(2.1329, 1.6884, 4.7700)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E3E #363E1E
analogous
#1E263E #261E3E #361E3E
triadic
#261E3E #3E261E #1E3E26
tetradic
#261E3E #3E1E26 #363E1E #1E3E36
square
#261E3E #3E1E26 #363E1E #1E3E36
split-complementary
#261E3E #3E361E #263E1E
monochromatic
#0D0A15 #0D0A15 #261E3E #3F3267 #594690

Accessibility & contrast

On white

15.70
#261E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#261E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E3E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E3E#FFFFFF#000000##FFFFFF
##261E3E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#15233D
Tritanopia (blue-blind)
#20242B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261e3e;
/* rgb */ color: rgb(38, 30, 62);
/* oklch */ color: oklch(26.2% 0.059 293.4);
Tailwind
colors: {
  custom: {
    50: '#625973',
    500: '#261e3e',
    950: '#000000',
  },
}
SCSS
$custom: #261e3e;
$custom-light: #625973;
$custom-dark: #000000;
JSON
{
  "hex": "#261e3e",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 255,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26167,
    "c": 0.05886,
    "h": 293.4
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#261E3E
secondary
#677246
accent
#CB5DAF
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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