#261B4B#261B4B

#261B4B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.5% C 0.085 H 289.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#261B4B
RGBrgb(38, 27, 75)
HSLhsl(254, 47%, 20%)
HSVhsv(254, 64%, 29%)
CMYKcmyk(49.3%, 64%, 0%, 70.6%)
CIE-LABlab(13.85, 19.26, -28.10)
CIE-LCHlch(13.85, 34.06, 304.43°)
OKLaboklab(26.54% 0.029 -0.0801)
OKLCHoklch(26.54% 0.085 289.9)
XYZxyz(2.4609, 1.7038, 6.8545)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B4B #404B1B
analogous
#1B284B #261B4B #3E1B4B
triadic
#261B4B #4B261B #1B4B26
tetradic
#261B4B #4B1B28 #404B1B #1B4B3E
square
#261B4B #4B1B28 #404B1B #1B4B3E
split-complementary
#261B4B #4B3E1B #284B1B
monochromatic
#0B0817 #0F0B1E #261B4B #3D2B78 #543BA5

Accessibility & contrast

On white

15.66
#261B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#261B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B4B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B4B#FFFFFF#000000##FFFFFF
##261B4B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#02224A
Tritanopia (blue-blind)
#1B2630
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261b4b;
/* rgb */ color: rgb(38, 27, 75);
/* oklch */ color: oklch(26.5% 0.085 289.9);
Tailwind
colors: {
  custom: {
    50: '#64577e',
    500: '#261b4b',
    950: '#000000',
  },
}
SCSS
$custom: #261b4b;
$custom-light: #64577e;
$custom-dark: #000000;
JSON
{
  "hex": "#261b4b",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 253.75,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.26536,
    "c": 0.0852,
    "h": 289.9
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#261B4B
secondary
#728141
accent
#D751B8
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #261B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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