#251066#251066

#251066 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.137 H 283.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#251066
RGBrgb(37, 16, 102)
HSLhsl(255, 73%, 23%)
HSVhsv(255, 84%, 40%)
CMYKcmyk(63.7%, 84.3%, 0%, 60%)
CIE-LABlab(13.96, 34.73, -46.12)
CIE-LCHlch(13.96, 57.73, 306.97°)
OKLaboklab(27.4% 0.0329 -0.133)
OKLCHoklch(27.4% 0.137 283.9)
XYZxyz(3.3458, 1.7230, 12.7241)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251066 #516610
analogous
#102666 #251066 #501066
triadic
#251066 #662510 #106625
tetradic
#251066 #661026 #516610 #106650
square
#251066 #661026 #516610 #106650
split-complementary
#251066 #665010 #266610
monochromatic
#0A041A #120831 #251066 #38189B #4B21D0

Accessibility & contrast

On white

15.62
#251066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#251066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251066
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251066#FFFFFF#000000##FFFFFF
##2510661.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251066;
/* rgb */ color: rgb(37, 16, 102);
/* oklch */ color: oklch(27.4% 0.137 283.9);
Tailwind
colors: {
  custom: {
    50: '#695293',
    500: '#251066',
    950: '#000000',
  },
}
SCSS
$custom: #251066;
$custom-light: #695293;
$custom-dark: #000000;
JSON
{
  "hex": "#251066",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 254.651,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27398,
    "c": 0.13698,
    "h": 283.9
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#251066
secondary
#849E33
accent
#F038C3
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251066

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

Preview Lab → · Contrast checker → · Palette generator →

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