#261E3C#261E3C

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

Color values

HEX#261E3C
RGBrgb(38, 30, 60)
HSLhsl(256, 33%, 18%)
HSVhsv(256, 50%, 24%)
CMYKcmyk(36.7%, 50%, 0%, 76.5%)
CIE-LABlab(13.63, 12.11, -17.99)
CIE-LCHlch(13.63, 21.69, 303.95°)
OKLaboklab(26.03% 0.023 -0.0505)
OKLCHoklch(26.03% 0.055 294.5)
XYZxyz(2.0790, 1.6668, 4.4863)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E3C #343C1E
analogous
#1E253C #261E3C #351E3C
triadic
#261E3C #3C261E #1E3C26
tetradic
#261E3C #3C1E25 #343C1E #1E3C35
square
#261E3C #3C1E25 #343C1E #1E3C35
split-complementary
#261E3C #3C351E #253C1E
monochromatic
#0D0A14 #0D0A14 #261E3C #403265 #5A478E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261E3C#FFFFFF#000000##FFFFFF
##261E3C1.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)
#15233D
Deuteranopia (green-blind)
#16223B
Tritanopia (blue-blind)
#21242A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261e3c;
/* rgb */ color: rgb(38, 30, 60);
/* oklch */ color: oklch(26.0% 0.055 294.5);
Tailwind
colors: {
  custom: {
    50: '#615972',
    500: '#261e3c',
    950: '#000000',
  },
}
SCSS
$custom: #261e3c;
$custom-light: #615972;
$custom-dark: #000000;
JSON
{
  "hex": "#261e3c",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 60
  },
  "hsl": {
    "h": 256,
    "s": 33.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26029,
    "c": 0.05549,
    "h": 294.5
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#261E3C
secondary
#657046
accent
#C95EAD
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050308
muted
#79787B

Preview Lab

Preview with #261E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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