#261B4D#261B4D

#261B4D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.088 H 289.1°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#261B4D
RGBrgb(38, 27, 77)
HSLhsl(253, 48%, 20%)
HSVhsv(253, 65%, 30%)
CMYKcmyk(50.6%, 64.9%, 0%, 69.8%)
CIE-LABlab(14.01, 19.94, -29.21)
CIE-LCHlch(14.01, 35.37, 304.32°)
OKLaboklab(26.71% 0.029 -0.0834)
OKLCHoklch(26.71% 0.088 289.1)
XYZxyz(2.5304, 1.7317, 7.2207)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B4D #424D1B
analogous
#1B294D #261B4D #3F1B4D
triadic
#261B4D #4D261B #1B4D26
tetradic
#261B4D #4D1B29 #424D1B #1B4D3F
square
#261B4D #4D1B29 #424D1B #1B4D3F
split-complementary
#261B4D #4D3F1B #294D1B
monochromatic
#0B0817 #100B20 #261B4D #3C2B7A #533BA8

Accessibility & contrast

On white

15.60
#261B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B4D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B4D#FFFFFF#000000##FFFFFF
##261B4D1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#1A2631
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261b4d;
/* rgb */ color: rgb(38, 27, 77);
/* oklch */ color: oklch(26.7% 0.088 289.1);
Tailwind
colors: {
  custom: {
    50: '#64577f',
    500: '#261b4d',
    950: '#000000',
  },
}
SCSS
$custom: #261b4d;
$custom-light: #64577f;
$custom-dark: #000000;
JSON
{
  "hex": "#261b4d",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 253.2,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26707,
    "c": 0.08827,
    "h": 289.1
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#261B4D
secondary
#748341
accent
#D850BA
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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