#261C57#261C57

#261C57 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.102 H 285.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#261C57
RGBrgb(38, 28, 87)
HSLhsl(250, 51%, 23%)
HSVhsv(250, 68%, 34%)
CMYKcmyk(56.3%, 67.8%, 0%, 65.9%)
CIE-LABlab(15.12, 22.72, -34.21)
CIE-LCHlch(15.12, 41.07, 303.59°)
OKLaboklab(27.78% 0.0271 -0.0981)
OKLCHoklch(27.78% 0.102 285.4)
XYZxyz(2.9344, 1.9305, 9.2330)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C57 #4D571C
analogous
#1C3057 #261C57 #431C57
triadic
#261C57 #57261C #1C5726
tetradic
#261C57 #571C30 #4D571C #1C5743
square
#261C57 #571C30 #4D571C #1C5743
split-complementary
#261C57 #57431C #30571C
monochromatic
#0A0717 #120D29 #261C57 #3A2B85 #4E3AB4

Accessibility & contrast

On white

15.15
#261C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C57
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C57#FFFFFF#000000##FFFFFF
##261C571.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#132A36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261c57;
/* rgb */ color: rgb(38, 28, 87);
/* oklch */ color: oklch(27.8% 0.102 285.4);
Tailwind
colors: {
  custom: {
    50: '#665887',
    500: '#261c57',
    950: '#000000',
  },
}
SCSS
$custom: #261c57;
$custom-light: #665887;
$custom-dark: #000000;
JSON
{
  "hex": "#261c57",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 250.169,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27784,
    "c": 0.10178,
    "h": 285.4
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#261C57
secondary
#808D42
accent
#DB4DC3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261C57

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

Preview Lab → · Contrast checker → · Palette generator →

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