#261B5B#261B5B

#261B5B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.0% C 0.109 H 284.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#261B5B
RGBrgb(38, 27, 91)
HSLhsl(250, 54%, 23%)
HSVhsv(250, 70%, 36%)
CMYKcmyk(58.2%, 70.3%, 0%, 64.3%)
CIE-LABlab(15.23, 24.78, -36.72)
CIE-LCHlch(15.23, 44.30, 304.02°)
OKLaboklab(27.98% 0.0278 -0.1055)
OKLCHoklch(27.98% 0.109 284.7)
XYZxyz(3.0790, 1.9511, 10.1099)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B5B #505B1B
analogous
#1B305B #261B5B #461B5B
triadic
#261B5B #5B261B #1B5B26
tetradic
#261B5B #5B1B30 #505B1B #1B5B46
square
#261B5B #5B1B30 #505B1B #1B5B46
split-complementary
#261B5B #5B461B #305B1B
monochromatic
#0A0718 #120D2C #261B5B #3A298A #4D37B9

Accessibility & contrast

On white

15.11
#261B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#261B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B5B
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B5B#FFFFFF#000000##FFFFFF
##261B5B1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#0F2B38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261b5b;
/* rgb */ color: rgb(38, 27, 91);
/* oklch */ color: oklch(28.0% 0.109 284.7);
Tailwind
colors: {
  custom: {
    50: '#67588a',
    500: '#261b5b',
    950: '#000000',
  },
}
SCSS
$custom: #261b5b;
$custom-light: #67588a;
$custom-dark: #000000;
JSON
{
  "hex": "#261b5b",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 250.313,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.10907,
    "h": 284.7
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#261B5B
secondary
#839141
accent
#DE4AC4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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