#261B56#261B56

#261B56 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.102 H 286.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#261B56
RGBrgb(38, 27, 86)
HSLhsl(251, 52%, 22%)
HSVhsv(251, 69%, 34%)
CMYKcmyk(55.8%, 68.6%, 0%, 66.3%)
CIE-LABlab(14.78, 23.05, -34.09)
CIE-LCHlch(14.78, 41.15, 304.06°)
OKLaboklab(27.51% 0.0283 -0.0978)
OKLCHoklch(27.51% 0.102 286.2)
XYZxyz(2.8705, 1.8677, 9.0115)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B56 #4B561B
analogous
#1B2E56 #261B56 #431B56
triadic
#261B56 #56261B #1B5626
tetradic
#261B56 #561B2E #4B561B #1B5643
square
#261B56 #561B2E #4B561B #1B5643
split-complementary
#261B56 #56431B #2E561B
monochromatic
#0A0717 #110C27 #261B56 #3B2A85 #4F38B3

Accessibility & contrast

On white

15.29
#261B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#261B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B56
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B56#FFFFFF#000000##FFFFFF
##261B561.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#142935
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261b56;
/* rgb */ color: rgb(38, 27, 86);
/* oklch */ color: oklch(27.5% 0.102 286.2);
Tailwind
colors: {
  custom: {
    50: '#665886',
    500: '#261b56',
    950: '#000000',
  },
}
SCSS
$custom: #261b56;
$custom-light: #665886;
$custom-dark: #000000;
JSON
{
  "hex": "#261b56",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 251.186,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27508,
    "c": 0.10178,
    "h": 286.2
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#261B56
secondary
#7E8C41
accent
#DC4CC1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261B56

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

Preview Lab → · Contrast checker → · Palette generator →

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