#261B4F#261B4F

#261B4F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.9% C 0.091 H 288.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#261B4F
RGBrgb(38, 27, 79)
HSLhsl(253, 49%, 21%)
HSVhsv(253, 66%, 31%)
CMYKcmyk(51.9%, 65.8%, 0%, 69%)
CIE-LABlab(14.18, 20.63, -30.31)
CIE-LCHlch(14.18, 36.67, 304.23°)
OKLaboklab(26.88% 0.0289 -0.0866)
OKLCHoklch(26.88% 0.091 288.4)
XYZxyz(2.6021, 1.7603, 7.5983)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B4F #444F1B
analogous
#1B2A4F #261B4F #401B4F
triadic
#261B4F #4F261B #1B4F26
tetradic
#261B4F #4F1B2A #444F1B #1B4F40
square
#261B4F #4F1B2A #444F1B #1B4F40
split-complementary
#261B4F #4F401B #2A4F1B
monochromatic
#0B0817 #100B21 #261B4F #3C2B7D #523AAA

Accessibility & contrast

On white

15.53
#261B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B4F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B4F#FFFFFF#000000##FFFFFF
##261B4F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#192732
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261b4f;
/* rgb */ color: rgb(38, 27, 79);
/* oklch */ color: oklch(26.9% 0.091 288.4);
Tailwind
colors: {
  custom: {
    50: '#645881',
    500: '#261b4f',
    950: '#000000',
  },
}
SCSS
$custom: #261b4f;
$custom-light: #645881;
$custom-dark: #000000;
JSON
{
  "hex": "#261b4f",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 252.692,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2688,
    "c": 0.09132,
    "h": 288.4
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#261B4F
secondary
#768541
accent
#D94FBC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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