#251267#251267

#251267 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.136 H 283.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#251267
RGBrgb(37, 18, 103)
HSLhsl(253, 70%, 24%)
HSVhsv(253, 83%, 40%)
CMYKcmyk(64.1%, 82.5%, 0%, 59.6%)
CIE-LABlab(14.43, 34.02, -46.01)
CIE-LCHlch(14.43, 57.22, 306.48°)
OKLaboklab(27.76% 0.0313 -0.1327)
OKLCHoklch(27.76% 0.136 283.3)
XYZxyz(3.4267, 1.8050, 12.9972)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251267 #546712
analogous
#122967 #251267 #4F1267
triadic
#251267 #672512 #126725
tetradic
#251267 #671229 #546712 #12674F
square
#251267 #671229 #546712 #12674F
split-complementary
#251267 #674F12 #296712
monochromatic
#09051A #120933 #251267 #381B9B #4A24CF

Accessibility & contrast

On white

15.43
#251267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#251267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251267
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251267#FFFFFF#000000##FFFFFF
##2512671.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251267;
/* rgb */ color: rgb(37, 18, 103);
/* oklch */ color: oklch(27.8% 0.136 283.3);
Tailwind
colors: {
  custom: {
    50: '#695393',
    500: '#251267',
    950: '#000000',
  },
}
SCSS
$custom: #251267;
$custom-light: #695393;
$custom-dark: #000000;
JSON
{
  "hex": "#251267",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 253.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.13629,
    "h": 283.3
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#251267
secondary
#879F36
accent
#ED3BC5
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251267

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

Preview Lab → · Contrast checker → · Palette generator →

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