#261B57#261B57

#261B57 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.103 H 285.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#261B57
RGBrgb(38, 27, 87)
HSLhsl(251, 53%, 22%)
HSVhsv(251, 69%, 34%)
CMYKcmyk(56.3%, 69%, 0%, 65.9%)
CIE-LABlab(14.87, 23.39, -34.63)
CIE-LCHlch(14.87, 41.79, 304.04°)
OKLaboklab(27.6% 0.0282 -0.0993)
OKLCHoklch(27.6% 0.103 285.9)
XYZxyz(2.9110, 1.8839, 9.2252)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B57 #4C571B
analogous
#1B2E57 #261B57 #441B57
triadic
#261B57 #57261B #1B5726
tetradic
#261B57 #571B2E #4C571B #1B5744
square
#261B57 #571B2E #4C571B #1B5744
split-complementary
#261B57 #57441B #2E571B
monochromatic
#0A0717 #120D28 #261B57 #3A2986 #4F38B4

Accessibility & contrast

On white

15.25
#261B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B57
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B57#FFFFFF#000000##FFFFFF
##261B571.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#132A36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261b57;
/* rgb */ color: rgb(38, 27, 87);
/* oklch */ color: oklch(27.6% 0.103 285.9);
Tailwind
colors: {
  custom: {
    50: '#665887',
    500: '#261b57',
    950: '#000000',
  },
}
SCSS
$custom: #261b57;
$custom-light: #665887;
$custom-dark: #000000;
JSON
{
  "hex": "#261b57",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 251,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27601,
    "c": 0.10326,
    "h": 285.9
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#261B57
secondary
#7F8D41
accent
#DC4CC2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261B57

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

Preview Lab → · Contrast checker → · Palette generator →

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