#261B5C#261B5C

#261B5C is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.111 H 284.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#261B5C
RGBrgb(38, 27, 92)
HSLhsl(250, 55%, 23%)
HSVhsv(250, 71%, 36%)
CMYKcmyk(58.7%, 70.7%, 0%, 63.9%)
CIE-LABlab(15.32, 25.13, -37.24)
CIE-LCHlch(15.32, 44.93, 304.01°)
OKLaboklab(28.07% 0.0276 -0.107)
OKLCHoklch(28.07% 0.111 284.5)
XYZxyz(3.1224, 1.9685, 10.3386)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B5C #515C1B
analogous
#1B305C #261B5C #461B5C
triadic
#261B5C #5C261B #1B5C26
tetradic
#261B5C #5C1B30 #515C1B #1B5C46
square
#261B5C #5C1B30 #515C1B #1B5C46
split-complementary
#261B5C #5C461B #305C1B
monochromatic
#0A0718 #120D2D #261B5C #3A298B #4D37BB

Accessibility & contrast

On white

15.07
#261B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B5C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B5C#FFFFFF#000000##FFFFFF
##261B5C1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#0E2B38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261b5c;
/* rgb */ color: rgb(38, 27, 92);
/* oklch */ color: oklch(28.1% 0.111 284.5);
Tailwind
colors: {
  custom: {
    50: '#67588b',
    500: '#261b5c',
    950: '#000000',
  },
}
SCSS
$custom: #261b5c;
$custom-light: #67588b;
$custom-dark: #000000;
JSON
{
  "hex": "#261b5c",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 250.154,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28072,
    "c": 0.11051,
    "h": 284.5
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#261B5C
secondary
#849241
accent
#DE4AC5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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