#261B52#261B52

#261B52 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.096 H 287.4°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#261B52
RGBrgb(38, 27, 82)
HSLhsl(252, 50%, 21%)
HSVhsv(252, 67%, 32%)
CMYKcmyk(53.7%, 67.1%, 0%, 67.8%)
CIE-LABlab(14.43, 21.66, -31.95)
CIE-LCHlch(14.43, 38.60, 304.14°)
OKLaboklab(27.15% 0.0287 -0.0914)
OKLCHoklch(27.15% 0.096 287.4)
XYZxyz(2.7138, 1.8050, 8.1864)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B52 #47521B
analogous
#1B2C52 #261B52 #421B52
triadic
#261B52 #52261B #1B5226
tetradic
#261B52 #521B2C #47521B #1B5242
square
#261B52 #521B2C #47521B #1B5242
split-complementary
#261B52 #52421B #2C521B
monochromatic
#0B0817 #110C24 #261B52 #3B2A80 #5139AE

Accessibility & contrast

On white

15.43
#261B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B52
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B52#FFFFFF#000000##FFFFFF
##261B521.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#172833
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261b52;
/* rgb */ color: rgb(38, 27, 82);
/* oklch */ color: oklch(27.1% 0.096 287.4);
Tailwind
colors: {
  custom: {
    50: '#655883',
    500: '#261b52',
    950: '#000000',
  },
}
SCSS
$custom: #261b52;
$custom-light: #655883;
$custom-dark: #000000;
JSON
{
  "hex": "#261b52",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 252,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27145,
    "c": 0.09584,
    "h": 287.4
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#261B52
secondary
#7A8841
accent
#DA4EBE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261B52

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

Preview Lab → · Contrast checker → · Palette generator →

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