#250640#250640

#250640 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.101 H 302.9°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#250640
RGBrgb(37, 6, 64)
HSLhsl(272, 83%, 14%)
HSVhsv(272, 91%, 25%)
CMYKcmyk(42.2%, 90.6%, 0%, 74.9%)
CIE-LABlab(8.07, 28.35, -29.78)
CIE-LCHlch(8.07, 41.12, 313.59°)
OKLaboklab(22.05% 0.0551 -0.085)
OKLCHoklch(22.05% 0.101 302.9)
XYZxyz(1.7533, 0.8937, 4.9296)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250640 #214006
analogous
#080640 #250640 #40063E
triadic
#250640 #402506 #064025
tetradic
#250640 #400806 #214006 #063E40
square
#250640 #400806 #214006 #063E40
split-complementary
#250640 #3E4006 #064008
monochromatic
#10031C #10031C #250640 #450B78 #6610B0

Accessibility & contrast

On white

17.81
#250640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#250640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250640
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250640#FFFFFF#000000##FFFFFF
##2506401.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#1F1623
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #250640;
/* rgb */ color: rgb(37, 6, 64);
/* oklch */ color: oklch(22.1% 0.101 302.9);
Tailwind
colors: {
  custom: {
    50: '#634a75',
    500: '#250640',
    950: '#000000',
  },
}
SCSS
$custom: #250640;
$custom-light: #634a75;
$custom-dark: #000000;
JSON
{
  "hex": "#250640",
  "rgb": {
    "r": 37,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 272.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22051,
    "c": 0.10131,
    "h": 302.9
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#250640
secondary
#4E8022
accent
#F92F8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #250640

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

Preview Lab → · Contrast checker → · Palette generator →

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