#251067#251067

#251067 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.138 H 283.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#251067
RGBrgb(37, 16, 103)
HSLhsl(254, 73%, 23%)
HSVhsv(254, 84%, 40%)
CMYKcmyk(64.1%, 84.5%, 0%, 59.6%)
CIE-LABlab(14.08, 35.04, -46.59)
CIE-LCHlch(14.08, 58.30, 306.94°)
OKLaboklab(27.51% 0.0326 -0.1343)
OKLCHoklch(27.51% 0.138 283.6)
XYZxyz(3.3957, 1.7429, 12.9868)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251067 #526710
analogous
#102667 #251067 #501067
triadic
#251067 #672510 #106725
tetradic
#251067 #671026 #526710 #106750
square
#251067 #671026 #526710 #106750
split-complementary
#251067 #675010 #266710
monochromatic
#0A041A #120832 #251067 #38189C #4B20D1

Accessibility & contrast

On white

15.57
#251067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251067
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251067#FFFFFF#000000##FFFFFF
##2510671.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251067;
/* rgb */ color: rgb(37, 16, 103);
/* oklch */ color: oklch(27.5% 0.138 283.6);
Tailwind
colors: {
  custom: {
    50: '#6a5293',
    500: '#251067',
    950: '#000000',
  },
}
SCSS
$custom: #251067;
$custom-light: #6a5293;
$custom-dark: #000000;
JSON
{
  "hex": "#251067",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 254.483,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27512,
    "c": 0.13823,
    "h": 283.6
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#251067
secondary
#859F33
accent
#F038C3
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251067

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

Preview Lab → · Contrast checker → · Palette generator →

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