#261276#261276

#261276 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.155 H 280.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#261276
RGBrgb(38, 18, 118)
HSLhsl(252, 74%, 27%)
HSVhsv(252, 85%, 46%)
CMYKcmyk(67.8%, 84.7%, 0%, 53.7%)
CIE-LABlab(16.27, 38.87, -52.74)
CIE-LCHlch(16.27, 65.52, 306.39°)
OKLaboklab(29.57% 0.0279 -0.1522)
OKLCHoklch(29.57% 0.155 280.4)
XYZxyz(4.2846, 2.1523, 17.3257)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261276 #627612
analogous
#123076 #261276 #581276
triadic
#261276 #762612 #127626
tetradic
#261276 #761230 #627612 #127658
square
#261276 #761230 #627612 #127658
split-complementary
#261276 #765812 #307612
monochromatic
#09041B #150A41 #261276 #371AAB #4A25DE

Accessibility & contrast

On white

14.68
#261276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261276
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261276#FFFFFF#000000##FFFFFF
##2612761.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261276;
/* rgb */ color: rgb(38, 18, 118);
/* oklch */ color: oklch(29.6% 0.155 280.4);
Tailwind
colors: {
  custom: {
    50: '#6d549f',
    500: '#261276',
    950: '#000000',
  },
}
SCSS
$custom: #261276;
$custom-light: #6d549f;
$custom-dark: #000000;
JSON
{
  "hex": "#261276",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 252,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29572,
    "c": 0.15479,
    "h": 280.4
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#261276
secondary
#95AD37
accent
#F038CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261276

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

Preview Lab → · Contrast checker → · Palette generator →

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