#261F44#261F44

#261F44 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.8% C 0.067 H 289.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#261F44
RGBrgb(38, 31, 68)
HSLhsl(251, 37%, 19%)
HSVhsv(251, 54%, 27%)
CMYKcmyk(44.1%, 54.4%, 0%, 73.3%)
CIE-LABlab(14.45, 14.04, -22.29)
CIE-LCHlch(14.45, 26.34, 302.20°)
OKLaboklab(26.82% 0.0227 -0.063)
OKLCHoklch(26.82% 0.067 289.8)
XYZxyz(2.3324, 1.8093, 5.6941)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F44 #3D441F
analogous
#1F2B44 #261F44 #391F44
triadic
#261F44 #44261F #1F4426
tetradic
#261F44 #441F2B #3D441F #1F4439
square
#261F44 #441F2B #3D441F #1F4439
split-complementary
#261F44 #44391F #2B441F
monochromatic
#0C0A15 #0F0C1A #261F44 #3D326E #554598

Accessibility & contrast

On white

15.42
#261F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F44
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F44#FFFFFF#000000##FFFFFF
##261F441.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112545
Deuteranopia (green-blind)
#112443
Tritanopia (blue-blind)
#1E262E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261f44;
/* rgb */ color: rgb(38, 31, 68);
/* oklch */ color: oklch(26.8% 0.067 289.8);
Tailwind
colors: {
  custom: {
    50: '#625a78',
    500: '#261f44',
    950: '#000000',
  },
}
SCSS
$custom: #261f44;
$custom-light: #625a78;
$custom-dark: #000000;
JSON
{
  "hex": "#261f44",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 251.351,
    "s": 37.374,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26819,
    "c": 0.06701,
    "h": 289.8
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#261F44
secondary
#6F7846
accent
#CD5AB8
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #261F44

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

Preview Lab → · Contrast checker → · Palette generator →

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