#261F45#261F45

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

Color values

HEX#261F45
RGBrgb(38, 31, 69)
HSLhsl(251, 38%, 20%)
HSVhsv(251, 55%, 27%)
CMYKcmyk(44.9%, 55.1%, 0%, 72.9%)
CIE-LABlab(14.52, 14.38, -22.87)
CIE-LCHlch(14.52, 27.01, 302.15°)
OKLaboklab(26.89% 0.0228 -0.0647)
OKLCHoklch(26.89% 0.069 289.4)
XYZxyz(2.3632, 1.8216, 5.8562)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F45 #3E451F
analogous
#1F2B45 #261F45 #391F45
triadic
#261F45 #45261F #1F4526
tetradic
#261F45 #451F2B #3E451F #1F4539
square
#261F45 #451F2B #3E451F #1F4539
split-complementary
#261F45 #45391F #2B451F
monochromatic
#0C0915 #0F0C1B #261F45 #3D326F #554599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261F45#FFFFFF#000000##FFFFFF
##261F451.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)
#102546
Deuteranopia (green-blind)
#102444
Tritanopia (blue-blind)
#1E272E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261f45;
/* rgb */ color: rgb(38, 31, 69);
/* oklch */ color: oklch(26.9% 0.069 289.4);
Tailwind
colors: {
  custom: {
    50: '#625a79',
    500: '#261f45',
    950: '#000000',
  },
}
SCSS
$custom: #261f45;
$custom-light: #625a79;
$custom-dark: #000000;
JSON
{
  "hex": "#261f45",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 251.053,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26893,
    "c": 0.06866,
    "h": 289.4
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#261F45
secondary
#707946
accent
#CE5AB9
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #261F45

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

Preview Lab → · Contrast checker → · Palette generator →

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