#261B53#261B53

#261B53 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.097 H 287.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#261B53
RGBrgb(38, 27, 83)
HSLhsl(252, 51%, 22%)
HSVhsv(252, 67%, 33%)
CMYKcmyk(54.2%, 67.5%, 0%, 67.5%)
CIE-LABlab(14.51, 22.01, -32.49)
CIE-LCHlch(14.51, 39.24, 304.11°)
OKLaboklab(27.24% 0.0286 -0.093)
OKLCHoklch(27.24% 0.097 287.1)
XYZxyz(2.7521, 1.8203, 8.3883)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B53 #48531B
analogous
#1B2C53 #261B53 #421B53
triadic
#261B53 #53261B #1B5326
tetradic
#261B53 #531B2C #48531B #1B5342
square
#261B53 #531B2C #48531B #1B5342
split-complementary
#261B53 #53421B #2C531B
monochromatic
#0B0817 #110C25 #261B53 #3B2A81 #5039AF

Accessibility & contrast

On white

15.40
#261B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B53
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B53#FFFFFF#000000##FFFFFF
##261B531.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#162834
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261b53;
/* rgb */ color: rgb(38, 27, 83);
/* oklch */ color: oklch(27.2% 0.097 287.1);
Tailwind
colors: {
  custom: {
    50: '#655884',
    500: '#261b53',
    950: '#000000',
  },
}
SCSS
$custom: #261b53;
$custom-light: #655884;
$custom-dark: #000000;
JSON
{
  "hex": "#261b53",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 251.786,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27235,
    "c": 0.09734,
    "h": 287.1
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#261B53
secondary
#7B8941
accent
#DA4DBF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261B53

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

Preview Lab → · Contrast checker → · Palette generator →

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