#251065#251065

#251065 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.136 H 284.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#251065
RGBrgb(37, 16, 101)
HSLhsl(255, 73%, 23%)
HSVhsv(255, 84%, 40%)
CMYKcmyk(63.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(13.85, 34.41, -45.65)
CIE-LCHlch(13.85, 57.17, 307.01°)
OKLaboklab(27.28% 0.0333 -0.1316)
OKLCHoklch(27.28% 0.136 284.2)
XYZxyz(3.2965, 1.7033, 12.4645)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251065 #506510
analogous
#102565 #251065 #501065
triadic
#251065 #652510 #106525
tetradic
#251065 #651025 #506510 #106550
square
#251065 #651025 #506510 #106550
split-complementary
#251065 #655010 #256510
monochromatic
#0A041A #120830 #251065 #38189A #4C21CF

Accessibility & contrast

On white

15.66
#251065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251065
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251065#FFFFFF#000000##FFFFFF
##2510651.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#00293B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #251065;
/* rgb */ color: rgb(37, 16, 101);
/* oklch */ color: oklch(27.3% 0.136 284.2);
Tailwind
colors: {
  custom: {
    50: '#695292',
    500: '#251065',
    950: '#000000',
  },
}
SCSS
$custom: #251065;
$custom-light: #695292;
$custom-dark: #000000;
JSON
{
  "hex": "#251065",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 254.824,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27284,
    "c": 0.13573,
    "h": 284.2
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#251065
secondary
#839D33
accent
#EF38C2
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251065

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

Preview Lab → · Contrast checker → · Palette generator →

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