#261C4E#261C4E

#261C4E is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.0% C 0.088 H 288.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#261C4E
RGBrgb(38, 28, 78)
HSLhsl(252, 47%, 21%)
HSVhsv(252, 64%, 31%)
CMYKcmyk(51.3%, 64.1%, 0%, 69.4%)
CIE-LABlab(14.36, 19.59, -29.33)
CIE-LCHlch(14.36, 35.28, 303.74°)
OKLaboklab(26.99% 0.0276 -0.0837)
OKLCHoklch(26.99% 0.088 288.2)
XYZxyz(2.5893, 1.7925, 7.4158)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C4E #444E1C
analogous
#1C2B4E #261C4E #3F1C4E
triadic
#261C4E #4E261C #1C4E26
tetradic
#261C4E #4E1C2B #444E1C #1C4E3F
square
#261C4E #4E1C2B #444E1C #1C4E3F
split-complementary
#261C4E #4E3F1C #2B4E1C
monochromatic
#0B0817 #100C21 #261C4E #3C2C7B #523CA8

Accessibility & contrast

On white

15.46
#261C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C4E
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C4E#FFFFFF#000000##FFFFFF
##261C4E1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#192731
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261c4e;
/* rgb */ color: rgb(38, 28, 78);
/* oklch */ color: oklch(27.0% 0.088 288.2);
Tailwind
colors: {
  custom: {
    50: '#645880',
    500: '#261c4e',
    950: '#000000',
  },
}
SCSS
$custom: #261c4e;
$custom-light: #645880;
$custom-dark: #000000;
JSON
{
  "hex": "#261c4e",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 252,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.08818,
    "h": 288.2
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#261C4E
secondary
#768442
accent
#D751BC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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