#261A57#261A57

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

Color values

HEX#261A57
RGBrgb(38, 26, 87)
HSLhsl(252, 54%, 22%)
HSVhsv(252, 70%, 34%)
CMYKcmyk(56.3%, 70.1%, 0%, 65.9%)
CIE-LABlab(14.62, 24.06, -35.03)
CIE-LCHlch(14.62, 42.50, 304.48°)
OKLaboklab(27.42% 0.0294 -0.1005)
OKLCHoklch(27.42% 0.105 286.3)
XYZxyz(2.8885, 1.8388, 9.2177)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A57 #4B571A
analogous
#1A2D57 #261A57 #451A57
triadic
#261A57 #57261A #1A5726
tetradic
#261A57 #571A2D #4B571A #1A5745
square
#261A57 #571A2D #4B571A #1A5745
split-complementary
#261A57 #57451A #2D571A
monochromatic
#0A0718 #110C28 #261A57 #3B2886 #4F36B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261A57#FFFFFF#000000##FFFFFF
##261A571.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)
#002659
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#132935
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261a57;
/* rgb */ color: rgb(38, 26, 87);
/* oklch */ color: oklch(27.4% 0.105 286.3);
Tailwind
colors: {
  custom: {
    50: '#665787',
    500: '#261a57',
    950: '#000000',
  },
}
SCSS
$custom: #261a57;
$custom-light: #665787;
$custom-dark: #000000;
JSON
{
  "hex": "#261a57",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 251.803,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.10471,
    "h": 286.3
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#261A57
secondary
#7E8D40
accent
#DD4AC0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A57

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

Preview Lab → · Contrast checker → · Palette generator →

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