#261272#261272

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

Color values

HEX#261272
RGBrgb(38, 18, 114)
HSLhsl(253, 73%, 26%)
HSVhsv(253, 84%, 45%)
CMYKcmyk(66.7%, 84.2%, 0%, 55.3%)
CIE-LABlab(15.80, 37.62, -50.94)
CIE-LCHlch(15.80, 63.32, 306.44°)
OKLaboklab(29.11% 0.0293 -0.147)
OKLCHoklch(29.11% 0.15 281.3)
XYZxyz(4.0519, 2.0593, 16.1003)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261272 #5E7212
analogous
#122E72 #261272 #561272
triadic
#261272 #722612 #127226
tetradic
#261272 #72122E #5E7212 #127256
square
#261272 #72122E #5E7212 #127256
split-complementary
#261272 #725612 #2E7212
monochromatic
#09041A #140A3D #261272 #381AA7 #4923DC

Accessibility & contrast

On white

14.87
#261272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261272
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261272#FFFFFF#000000##FFFFFF
##2612721.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#002F43
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261272;
/* rgb */ color: rgb(38, 18, 114);
/* oklch */ color: oklch(29.1% 0.150 281.3);
Tailwind
colors: {
  custom: {
    50: '#6c549c',
    500: '#261272',
    950: '#000000',
  },
}
SCSS
$custom: #261272;
$custom-light: #6c549c;
$custom-dark: #000000;
JSON
{
  "hex": "#261272",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 252.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29107,
    "c": 0.14988,
    "h": 281.3
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#261272
secondary
#91A937
accent
#EF38C9
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261272

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

Preview Lab → · Contrast checker → · Palette generator →

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