#261A5D#261A5D

#261A5D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.113 H 284.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#261A5D
RGBrgb(38, 26, 93)
HSLhsl(251, 56%, 23%)
HSVhsv(251, 72%, 36%)
CMYKcmyk(59.1%, 72%, 0%, 63.5%)
CIE-LABlab(15.17, 26.13, -38.15)
CIE-LCHlch(15.17, 46.24, 304.41°)
OKLaboklab(28% 0.0285 -0.1097)
OKLCHoklch(28% 0.113 284.6)
XYZxyz(3.1439, 1.9410, 10.5628)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A5D #515D1A
analogous
#1A2F5D #261A5D #471A5D
triadic
#261A5D #5D261A #1A5D26
tetradic
#261A5D #5D1A2F #515D1A #1A5D47
square
#261A5D #5D1A2F #515D1A #1A5D47
split-complementary
#261A5D #5D471A #2F5D1A
monochromatic
#0A0718 #120D2D #261A5D #3A278D #4D35BD

Accessibility & contrast

On white

15.13
#261A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261A5D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A5D#FFFFFF#000000##FFFFFF
##261A5D1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#0D2B39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261a5d;
/* rgb */ color: rgb(38, 26, 93);
/* oklch */ color: oklch(28.0% 0.113 284.6);
Tailwind
colors: {
  custom: {
    50: '#67578c',
    500: '#261a5d',
    950: '#000000',
  },
}
SCSS
$custom: #261a5d;
$custom-light: #67578c;
$custom-dark: #000000;
JSON
{
  "hex": "#261a5d",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 250.746,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27996,
    "c": 0.11332,
    "h": 284.6
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#261A5D
secondary
#849340
accent
#E048C4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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