#261072#261072

#261072 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.152 H 281.5°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#261072
RGBrgb(38, 16, 114)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 86%, 45%)
CMYKcmyk(66.7%, 86%, 0%, 55.3%)
CIE-LABlab(15.47, 38.56, -51.47)
CIE-LCHlch(15.47, 64.31, 306.84°)
OKLaboklab(28.89% 0.0303 -0.1485)
OKLCHoklch(28.89% 0.152 281.5)
XYZxyz(4.0209, 1.9973, 16.0899)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261072 #5C7210
analogous
#102B72 #261072 #571072
triadic
#261072 #722610 #107226
tetradic
#261072 #72102B #5C7210 #107257
square
#261072 #72102B #5C7210 #107257
split-complementary
#261072 #725710 #2B7210
monochromatic
#09041B #14083C #261072 #3818A8 #4A1FDD

Accessibility & contrast

On white

15.00
#261072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261072
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261072#FFFFFF#000000##FFFFFF
##2610721.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261072;
/* rgb */ color: rgb(38, 16, 114);
/* oklch */ color: oklch(28.9% 0.152 281.5);
Tailwind
colors: {
  custom: {
    50: '#6d539c',
    500: '#261072',
    950: '#000000',
  },
}
SCSS
$custom: #261072;
$custom-light: #6d539c;
$custom-dark: #000000;
JSON
{
  "hex": "#261072",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 253.469,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28885,
    "c": 0.15159,
    "h": 281.5
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#261072
secondary
#8FA934
accent
#F236C8
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #261072

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

Preview Lab → · Contrast checker → · Palette generator →

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