#261B5D#261B5D

#261B5D is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.112 H 284.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#261B5D
RGBrgb(38, 27, 93)
HSLhsl(250, 55%, 24%)
HSVhsv(250, 71%, 36%)
CMYKcmyk(59.1%, 71%, 0%, 63.5%)
CIE-LABlab(15.41, 25.48, -37.76)
CIE-LCHlch(15.41, 45.55, 304.01°)
OKLaboklab(28.17% 0.0275 -0.1085)
OKLCHoklch(28.17% 0.112 284.2)
XYZxyz(3.1664, 1.9861, 10.5703)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B5D #525D1B
analogous
#1B315D #261B5D #471B5D
triadic
#261B5D #5D261B #1B5D26
tetradic
#261B5D #5D1B31 #525D1B #1B5D47
square
#261B5D #5D1B31 #525D1B #1B5D47
split-complementary
#261B5D #5D471B #315D1B
monochromatic
#0A0718 #130D2E #261B5D #39298C #4D37BC

Accessibility & contrast

On white

15.03
#261B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B5D
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B5D#FFFFFF#000000##FFFFFF
##261B5D1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#0D2C39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261b5d;
/* rgb */ color: rgb(38, 27, 93);
/* oklch */ color: oklch(28.2% 0.112 284.2);
Tailwind
colors: {
  custom: {
    50: '#67588c',
    500: '#261b5d',
    950: '#000000',
  },
}
SCSS
$custom: #261b5d;
$custom-light: #67588c;
$custom-dark: #000000;
JSON
{
  "hex": "#261b5d",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 250,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28169,
    "c": 0.11195,
    "h": 284.2
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#261B5D
secondary
#859341
accent
#DE49C6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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