#261B50#261B50

#261B50 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.0% C 0.093 H 288.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#261B50
RGBrgb(38, 27, 80)
HSLhsl(252, 50%, 21%)
HSVhsv(252, 66%, 31%)
CMYKcmyk(52.5%, 66.3%, 0%, 68.6%)
CIE-LABlab(14.26, 20.97, -30.86)
CIE-LCHlch(14.26, 37.31, 304.20°)
OKLaboklab(26.97% 0.0288 -0.0882)
OKLCHoklch(26.97% 0.093 288.1)
XYZxyz(2.6388, 1.7750, 7.7914)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B50 #45501B
analogous
#1B2A50 #261B50 #401B50
triadic
#261B50 #50261B #1B5026
tetradic
#261B50 #501B2A #45501B #1B5040
square
#261B50 #501B2A #45501B #1B5040
split-complementary
#261B50 #50401B #2A501B
monochromatic
#0B0817 #100C22 #261B50 #3C2A7E #513AAC

Accessibility & contrast

On white

15.50
#261B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B50
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B50#FFFFFF#000000##FFFFFF
##261B501.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#182732
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261b50;
/* rgb */ color: rgb(38, 27, 80);
/* oklch */ color: oklch(27.0% 0.093 288.1);
Tailwind
colors: {
  custom: {
    50: '#645881',
    500: '#261b50',
    950: '#000000',
  },
}
SCSS
$custom: #261b50;
$custom-light: #645881;
$custom-dark: #000000;
JSON
{
  "hex": "#261b50",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 252.453,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26967,
    "c": 0.09283,
    "h": 288.1
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261B50

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

Preview Lab → · Contrast checker → · Palette generator →

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