#261180#261180

#261180 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.168 H 278.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#261180
RGBrgb(38, 17, 128)
HSLhsl(251, 77%, 28%)
HSVhsv(251, 87%, 50%)
CMYKcmyk(70.3%, 86.7%, 0%, 49.8%)
CIE-LABlab(17.33, 42.38, -57.39)
CIE-LCHlch(17.33, 71.34, 306.44°)
OKLaboklab(30.65% 0.0249 -0.1657)
OKLCHoklch(30.65% 0.168 278.5)
XYZxyz(4.8948, 2.3711, 20.6176)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261180 #6B8011
analogous
#113380 #261180 #5D1180
triadic
#261180 #802611 #118026
tetradic
#261180 #801133 #6B8011 #11805D
square
#261180 #801133 #6B8011 #11805D
split-complementary
#261180 #805D11 #338011
monochromatic
#08041B #160A4A #261180 #3618B6 #4C29E3

Accessibility & contrast

On white

14.25
#261180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261180
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261180#FFFFFF#000000##FFFFFF
##2611801.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261180;
/* rgb */ color: rgb(38, 17, 128);
/* oklch */ color: oklch(30.7% 0.168 278.5);
Tailwind
colors: {
  custom: {
    50: '#7054a6',
    500: '#261180',
    950: '#000000',
  },
}
SCSS
$custom: #261180;
$custom-light: #7054a6;
$custom-dark: #000000;
JSON
{
  "hex": "#261180",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 251.351,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30654,
    "c": 0.16759,
    "h": 278.5
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#261180
secondary
#9EB637
accent
#F335CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #261180

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

Preview Lab → · Contrast checker → · Palette generator →

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