#261D50#261D50

#261D50 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.4% C 0.090 H 287.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#261D50
RGBrgb(38, 29, 80)
HSLhsl(251, 47%, 21%)
HSVhsv(251, 64%, 31%)
CMYKcmyk(52.5%, 63.7%, 0%, 68.6%)
CIE-LABlab(14.79, 19.59, -30.00)
CIE-LCHlch(14.79, 35.83, 303.14°)
OKLaboklab(27.36% 0.0262 -0.0857)
OKLCHoklch(27.36% 0.09 287)
XYZxyz(2.6862, 1.8699, 7.8072)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D50 #47501D
analogous
#1D2E50 #261D50 #401D50
triadic
#261D50 #50261D #1D5026
tetradic
#261D50 #501D2E #47501D #1D5040
square
#261D50 #501D2E #47501D #1D5040
split-complementary
#261D50 #50401D #2E501D
monochromatic
#0B0816 #110D23 #261D50 #3B2D7D #513EAA

Accessibility & contrast

On white

15.28
#261D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#261D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D50
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D50#FFFFFF#000000##FFFFFF
##261D501.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#182933
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261d50;
/* rgb */ color: rgb(38, 29, 80);
/* oklch */ color: oklch(27.4% 0.090 287.0);
Tailwind
colors: {
  custom: {
    50: '#645981',
    500: '#261d50',
    950: '#000000',
  },
}
SCSS
$custom: #261d50;
$custom-light: #645981;
$custom-dark: #000000;
JSON
{
  "hex": "#261d50",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 250.588,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27356,
    "c": 0.08964,
    "h": 287
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#261D50
secondary
#7A8544
accent
#D651BF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261D50

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

Preview Lab → · Contrast checker → · Palette generator →

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