#261D4E#261D4E

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

Color values

HEX#261D4E
RGBrgb(38, 29, 78)
HSLhsl(251, 46%, 21%)
HSVhsv(251, 63%, 31%)
CMYKcmyk(51.3%, 62.8%, 0%, 69.4%)
CIE-LABlab(14.63, 18.90, -28.90)
CIE-LCHlch(14.63, 34.53, 303.18°)
OKLaboklab(27.19% 0.0263 -0.0825)
OKLCHoklch(27.19% 0.087 287.7)
XYZxyz(2.6134, 1.8407, 7.4238)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D4E #454E1D
analogous
#1D2C4E #261D4E #3E1D4E
triadic
#261D4E #4E261D #1D4E26
tetradic
#261D4E #4E1D2C #454E1D #1D4E3E
square
#261D4E #4E1D2C #454E1D #1D4E3E
split-complementary
#261D4E #4E3E1D #2C4E1D
monochromatic
#0B0816 #100C21 #261D4E #3C2E7B #513EA7

Accessibility & contrast

On white

15.35
#261D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D4E
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D4E#FFFFFF#000000##FFFFFF
##261D4E1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#01244D
Tritanopia (blue-blind)
#192832
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261d4e;
/* rgb */ color: rgb(38, 29, 78);
/* oklch */ color: oklch(27.2% 0.087 287.7);
Tailwind
colors: {
  custom: {
    50: '#645980',
    500: '#261d4e',
    950: '#000000',
  },
}
SCSS
$custom: #261d4e;
$custom-light: #645980;
$custom-dark: #000000;
JSON
{
  "hex": "#261d4e",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 251.02,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27187,
    "c": 0.08655,
    "h": 287.7
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#261D4E
secondary
#788344
accent
#D552BD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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