#261167#261167

#261167 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.137 H 284.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#261167
RGBrgb(38, 17, 103)
HSLhsl(255, 72%, 24%)
HSVhsv(255, 83%, 40%)
CMYKcmyk(63.1%, 83.5%, 0%, 59.6%)
CIE-LABlab(14.36, 34.66, -46.13)
CIE-LCHlch(14.36, 57.70, 306.92°)
OKLaboklab(27.73% 0.0336 -0.133)
OKLCHoklch(27.73% 0.137 284.2)
XYZxyz(3.4472, 1.7920, 12.9936)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261167 #526711
analogous
#112767 #261167 #511167
triadic
#261167 #672611 #116726
tetradic
#261167 #671127 #526711 #116751
square
#261167 #671127 #526711 #116751
split-complementary
#261167 #675111 #276711
monochromatic
#0A041A #130832 #261167 #391A9C #4D22D0

Accessibility & contrast

On white

15.46
#261167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261167
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261167#FFFFFF#000000##FFFFFF
##2611671.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261167;
/* rgb */ color: rgb(38, 17, 103);
/* oklch */ color: oklch(27.7% 0.137 284.2);
Tailwind
colors: {
  custom: {
    50: '#6a5293',
    500: '#261167',
    950: '#000000',
  },
}
SCSS
$custom: #261167;
$custom-light: #6a5293;
$custom-dark: #000000;
JSON
{
  "hex": "#261167",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 254.651,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27732,
    "c": 0.13714,
    "h": 284.2
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#261167
secondary
#859F35
accent
#EE39C2
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #261167

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

Preview Lab → · Contrast checker → · Palette generator →

#261167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva