#261275#261275

#261275 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.154 H 280.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#261275
RGBrgb(38, 18, 117)
HSLhsl(252, 73%, 26%)
HSVhsv(252, 85%, 46%)
CMYKcmyk(67.5%, 84.6%, 0%, 54.1%)
CIE-LABlab(16.15, 38.55, -52.30)
CIE-LCHlch(16.15, 64.97, 306.40°)
OKLaboklab(29.46% 0.0282 -0.1509)
OKLCHoklch(29.46% 0.154 280.6)
XYZxyz(4.2255, 2.1287, 17.0144)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261275 #617512
analogous
#123075 #261275 #581275
triadic
#261275 #752612 #127526
tetradic
#261275 #751230 #617512 #127558
square
#261275 #751230 #617512 #127558
split-complementary
#261275 #755812 #307512
monochromatic
#09041B #150A40 #261275 #371AAA #4A24DD

Accessibility & contrast

On white

14.73
#261275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261275
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261275#FFFFFF#000000##FFFFFF
##2612751.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261275;
/* rgb */ color: rgb(38, 18, 117);
/* oklch */ color: oklch(29.5% 0.154 280.6);
Tailwind
colors: {
  custom: {
    50: '#6d549e',
    500: '#261275',
    950: '#000000',
  },
}
SCSS
$custom: #261275;
$custom-light: #6d549e;
$custom-dark: #000000;
JSON
{
  "hex": "#261275",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 252.121,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29456,
    "c": 0.15356,
    "h": 280.6
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#261275
secondary
#94AC37
accent
#F038CB
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261275

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

Preview Lab → · Contrast checker → · Palette generator →

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