#261A52#261A52

#261A52 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.0% C 0.097 H 287.9°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#261A52
RGBrgb(38, 26, 82)
HSLhsl(253, 52%, 21%)
HSVhsv(253, 68%, 32%)
CMYKcmyk(53.7%, 68.3%, 0%, 67.8%)
CIE-LABlab(14.17, 22.34, -32.36)
CIE-LCHlch(14.17, 39.33, 304.62°)
OKLaboklab(26.96% 0.0299 -0.0927)
OKLCHoklch(26.96% 0.097 287.9)
XYZxyz(2.6913, 1.7599, 8.1789)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A52 #46521A
analogous
#1A2A52 #261A52 #421A52
triadic
#261A52 #52261A #1A5226
tetradic
#261A52 #521A2A #46521A #1A5242
square
#261A52 #521A2A #46521A #1A5242
split-complementary
#261A52 #52421A #2A521A
monochromatic
#0B0717 #100B24 #261A52 #3C2980 #5137AF

Accessibility & contrast

On white

15.53
#261A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#261A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A52
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A52#FFFFFF#000000##FFFFFF
##261A521.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#172733
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261a52;
/* rgb */ color: rgb(38, 26, 82);
/* oklch */ color: oklch(27.0% 0.097 287.9);
Tailwind
colors: {
  custom: {
    50: '#655783',
    500: '#261a52',
    950: '#000000',
  },
}
SCSS
$custom: #261a52;
$custom-light: #655783;
$custom-dark: #000000;
JSON
{
  "hex": "#261a52",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 252.857,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26959,
    "c": 0.09738,
    "h": 287.9
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#261A52
secondary
#798840
accent
#DB4CBD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A52

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

Preview Lab → · Contrast checker → · Palette generator →

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