#261B4E#261B4E

#261B4E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.090 H 288.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#261B4E
RGBrgb(38, 27, 78)
HSLhsl(253, 49%, 21%)
HSVhsv(253, 65%, 31%)
CMYKcmyk(51.3%, 65.4%, 0%, 69.4%)
CIE-LABlab(14.09, 20.28, -29.76)
CIE-LCHlch(14.09, 36.02, 304.27°)
OKLaboklab(26.79% 0.0289 -0.085)
OKLCHoklch(26.79% 0.09 288.8)
XYZxyz(2.5660, 1.7459, 7.4080)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B4E #434E1B
analogous
#1B294E #261B4E #3F1B4E
triadic
#261B4E #4E261B #1B4E26
tetradic
#261B4E #4E1B29 #434E1B #1B4E3F
square
#261B4E #4E1B29 #434E1B #1B4E3F
split-complementary
#261B4E #4E3F1B #294E1B
monochromatic
#0B0817 #100B21 #261B4E #3C2B7B #523AA9

Accessibility & contrast

On white

15.56
#261B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#261B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B4E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B4E#FFFFFF#000000##FFFFFF
##261B4E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#192731
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261b4e;
/* rgb */ color: rgb(38, 27, 78);
/* oklch */ color: oklch(26.8% 0.090 288.8);
Tailwind
colors: {
  custom: {
    50: '#645780',
    500: '#261b4e',
    950: '#000000',
  },
}
SCSS
$custom: #261b4e;
$custom-light: #645780;
$custom-dark: #000000;
JSON
{
  "hex": "#261b4e",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 252.941,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26793,
    "c": 0.0898,
    "h": 288.8
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#261B4E
secondary
#758441
accent
#D850BB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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