#261C53#261C53

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

Color values

HEX#261C53
RGBrgb(38, 28, 83)
HSLhsl(251, 50%, 22%)
HSVhsv(251, 66%, 33%)
CMYKcmyk(54.2%, 66.3%, 0%, 67.5%)
CIE-LABlab(14.77, 21.33, -32.07)
CIE-LCHlch(14.77, 38.51, 303.62°)
OKLaboklab(27.42% 0.0274 -0.0918)
OKLCHoklch(27.42% 0.096 286.6)
XYZxyz(2.7755, 1.8670, 8.3961)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C53 #49531C
analogous
#1C2E53 #261C53 #421C53
triadic
#261C53 #53261C #1C5326
tetradic
#261C53 #531C2E #49531C #1C5342
square
#261C53 #531C2E #49531C #1C5342
split-complementary
#261C53 #53421C #2E531C
monochromatic
#0A0817 #110D25 #261C53 #3B2B81 #503BAF

Accessibility & contrast

On white

15.29
#261C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C53
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C53#FFFFFF#000000##FFFFFF
##261C531.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#162934
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261c53;
/* rgb */ color: rgb(38, 28, 83);
/* oklch */ color: oklch(27.4% 0.096 286.6);
Tailwind
colors: {
  custom: {
    50: '#655884',
    500: '#261c53',
    950: '#000000',
  },
}
SCSS
$custom: #261c53;
$custom-light: #655884;
$custom-dark: #000000;
JSON
{
  "hex": "#261c53",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 250.909,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27424,
    "c": 0.0958,
    "h": 286.6
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#261C53
secondary
#7C8942
accent
#D94FC0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261C53

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

Preview Lab → · Contrast checker → · Palette generator →

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