#261A5E#261A5E

#261A5E is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.115 H 284.3°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#261A5E
RGBrgb(38, 26, 94)
HSLhsl(251, 57%, 24%)
HSVhsv(251, 72%, 37%)
CMYKcmyk(59.6%, 72.3%, 0%, 63.1%)
CIE-LABlab(15.27, 26.47, -38.66)
CIE-LCHlch(15.27, 46.86, 304.40°)
OKLaboklab(28.09% 0.0284 -0.1112)
OKLCHoklch(28.09% 0.115 284.3)
XYZxyz(3.1885, 1.9588, 10.7976)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A5E #525E1A
analogous
#1A305E #261A5E #481A5E
triadic
#261A5E #5E261A #1A5E26
tetradic
#261A5E #5E1A30 #525E1A #1A5E48
square
#261A5E #5E1A30 #525E1A #1A5E48
split-complementary
#261A5E #5E481A #305E1A
monochromatic
#0A0718 #130D2E #261A5E #39278E #4D35BE

Accessibility & contrast

On white

15.09
#261A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#261A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A5E
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A5E#FFFFFF#000000##FFFFFF
##261A5E1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#0C2B39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261a5e;
/* rgb */ color: rgb(38, 26, 94);
/* oklch */ color: oklch(28.1% 0.115 284.3);
Tailwind
colors: {
  custom: {
    50: '#67578c',
    500: '#261a5e',
    950: '#000000',
  },
}
SCSS
$custom: #261a5e;
$custom-light: #67578c;
$custom-dark: #000000;
JSON
{
  "hex": "#261a5e",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 250.588,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28094,
    "c": 0.11473,
    "h": 284.3
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#261A5E
secondary
#859440
accent
#E048C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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