#261B41#261B41

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

Color values

HEX#261B41
RGBrgb(38, 27, 65)
HSLhsl(257, 41%, 18%)
HSVhsv(257, 58%, 25%)
CMYKcmyk(41.5%, 58.5%, 0%, 74.5%)
CIE-LABlab(13.09, 15.90, -22.36)
CIE-LCHlch(13.09, 27.44, 305.41°)
OKLaboklab(25.73% 0.0286 -0.0633)
OKLCHoklch(25.73% 0.069 294.3)
XYZxyz(2.1451, 1.5775, 5.1915)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B41 #36411B
analogous
#1B2341 #261B41 #391B41
triadic
#261B41 #41261B #1B4126
tetradic
#261B41 #411B23 #36411B #1B4139
square
#261B41 #411B23 #36411B #1B4139
split-complementary
#261B41 #41391B #23411B
monochromatic
#0D0916 #0D0916 #261B41 #3F2D6C #593F97

Accessibility & contrast

On white

15.96
#261B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B41
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B41#FFFFFF#000000##FFFFFF
##261B411.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#1F232B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261b41;
/* rgb */ color: rgb(38, 27, 65);
/* oklch */ color: oklch(25.7% 0.069 294.3);
Tailwind
colors: {
  custom: {
    50: '#625776',
    500: '#261b41',
    950: '#000000',
  },
}
SCSS
$custom: #261b41;
$custom-light: #625776;
$custom-dark: #000000;
JSON
{
  "hex": "#261b41",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 257.368,
    "s": 41.304,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25734,
    "c": 0.06945,
    "h": 294.3
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#261B41
secondary
#677641
accent
#D157AE
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261B41

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

Preview Lab → · Contrast checker → · Palette generator →

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