#261B59#261B59

#261B59 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.106 H 285.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#261B59
RGBrgb(38, 27, 89)
HSLhsl(251, 53%, 23%)
HSVhsv(251, 70%, 35%)
CMYKcmyk(57.3%, 69.7%, 0%, 65.1%)
CIE-LABlab(15.05, 24.09, -35.68)
CIE-LCHlch(15.05, 43.05, 304.03°)
OKLaboklab(27.79% 0.028 -0.1024)
OKLCHoklch(27.79% 0.106 285.3)
XYZxyz(2.9939, 1.9170, 9.6615)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B59 #4E591B
analogous
#1B2F59 #261B59 #451B59
triadic
#261B59 #59261B #1B5926
tetradic
#261B59 #591B2F #4E591B #1B5945
square
#261B59 #591B2F #4E591B #1B5945
split-complementary
#261B59 #59451B #2F591B
monochromatic
#0A0717 #120D2A #261B59 #3A2988 #4E37B7

Accessibility & contrast

On white

15.18
#261B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B59
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B59#FFFFFF#000000##FFFFFF
##261B591.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#112A37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261b59;
/* rgb */ color: rgb(38, 27, 89);
/* oklch */ color: oklch(27.8% 0.106 285.3);
Tailwind
colors: {
  custom: {
    50: '#665888',
    500: '#261b59',
    950: '#000000',
  },
}
SCSS
$custom: #261b59;
$custom-light: #665888;
$custom-dark: #000000;
JSON
{
  "hex": "#261b59",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 250.645,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27787,
    "c": 0.10617,
    "h": 285.3
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#261B59
secondary
#818F41
accent
#DD4BC3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261B59

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

Preview Lab → · Contrast checker → · Palette generator →

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