#261C50#261C50

#261C50 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 287.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#261C50
RGBrgb(38, 28, 80)
HSLhsl(252, 48%, 21%)
HSVhsv(252, 65%, 31%)
CMYKcmyk(52.5%, 65%, 0%, 68.6%)
CIE-LABlab(14.52, 20.29, -30.44)
CIE-LCHlch(14.52, 36.58, 303.68°)
OKLaboklab(27.16% 0.0275 -0.087)
OKLCHoklch(27.16% 0.091 287.6)
XYZxyz(2.6621, 1.8216, 7.7992)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C50 #46501C
analogous
#1C2C50 #261C50 #401C50
triadic
#261C50 #50261C #1C5026
tetradic
#261C50 #501C2C #46501C #1C5040
square
#261C50 #501C2C #46501C #1C5040
split-complementary
#261C50 #50401C #2C501C
monochromatic
#0B0817 #100C23 #261C50 #3C2C7D #513CAB

Accessibility & contrast

On white

15.39
#261C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C50
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C50#FFFFFF#000000##FFFFFF
##261C501.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#182833
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261c50;
/* rgb */ color: rgb(38, 28, 80);
/* oklch */ color: oklch(27.2% 0.091 287.6);
Tailwind
colors: {
  custom: {
    50: '#645881',
    500: '#261c50',
    950: '#000000',
  },
}
SCSS
$custom: #261c50;
$custom-light: #645881;
$custom-dark: #000000;
JSON
{
  "hex": "#261c50",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 251.538,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2716,
    "c": 0.09124,
    "h": 287.6
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#261C50
secondary
#798642
accent
#D850BE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261C50

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

Preview Lab → · Contrast checker → · Palette generator →

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