#261173#261173

#261173 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.152 H 281.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#261173
RGBrgb(38, 17, 115)
HSLhsl(253, 74%, 26%)
HSVhsv(253, 85%, 45%)
CMYKcmyk(67%, 85.2%, 0%, 54.9%)
CIE-LABlab(15.75, 38.41, -51.66)
CIE-LCHlch(15.75, 64.37, 306.63°)
OKLaboklab(29.11% 0.0295 -0.1491)
OKLCHoklch(29.11% 0.152 281.2)
XYZxyz(4.0933, 2.0505, 16.3964)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261173 #5E7311
analogous
#112D73 #261173 #571173
triadic
#261173 #732611 #117326
tetradic
#261173 #73112D #5E7311 #117357
square
#261173 #73112D #5E7311 #117357
split-complementary
#261173 #735711 #2D7311
monochromatic
#09041B #14093E #261173 #3819A8 #4921DE

Accessibility & contrast

On white

14.89
#261173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261173
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261173#FFFFFF#000000##FFFFFF
##2611731.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261173;
/* rgb */ color: rgb(38, 17, 115);
/* oklch */ color: oklch(29.1% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#6d539c',
    500: '#261173',
    950: '#000000',
  },
}
SCSS
$custom: #261173;
$custom-light: #6d539c;
$custom-dark: #000000;
JSON
{
  "hex": "#261173",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 252.857,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29111,
    "c": 0.15197,
    "h": 281.2
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#261173
secondary
#91AA36
accent
#F137C9
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261173

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

Preview Lab → · Contrast checker → · Palette generator →

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