#261C56#261C56

#261C56 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.100 H 285.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#261C56
RGBrgb(38, 28, 86)
HSLhsl(250, 51%, 22%)
HSVhsv(250, 67%, 34%)
CMYKcmyk(55.8%, 67.4%, 0%, 66.3%)
CIE-LABlab(15.03, 22.37, -33.68)
CIE-LCHlch(15.03, 40.44, 303.59°)
OKLaboklab(27.69% 0.0272 -0.0965)
OKLCHoklch(27.69% 0.1 285.7)
XYZxyz(2.8938, 1.9143, 9.0193)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C56 #4C561C
analogous
#1C2F56 #261C56 #431C56
triadic
#261C56 #56261C #1C5626
tetradic
#261C56 #561C2F #4C561C #1C5643
square
#261C56 #561C2F #4C561C #1C5643
split-complementary
#261C56 #56431C #2F561C
monochromatic
#0A0817 #120D28 #261C56 #3A2B84 #4F3AB2

Accessibility & contrast

On white

15.19
#261C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C56
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C56#FFFFFF#000000##FFFFFF
##261C561.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#142A36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261c56;
/* rgb */ color: rgb(38, 28, 86);
/* oklch */ color: oklch(27.7% 0.100 285.7);
Tailwind
colors: {
  custom: {
    50: '#655886',
    500: '#261c56',
    950: '#000000',
  },
}
SCSS
$custom: #261c56;
$custom-light: #655886;
$custom-dark: #000000;
JSON
{
  "hex": "#261c56",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 250.345,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.10029,
    "h": 285.7
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#261C56
secondary
#7F8C42
accent
#DA4DC2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261C56

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

Preview Lab → · Contrast checker → · Palette generator →

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