#230640#230640

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

Color values

HEX#230640
RGBrgb(35, 6, 64)
HSLhsl(270, 83%, 14%)
HSVhsv(270, 91%, 25%)
CMYKcmyk(45.3%, 90.6%, 0%, 74.9%)
CIE-LABlab(7.75, 27.97, -30.32)
CIE-LCHlch(7.75, 41.25, 312.69°)
OKLaboklab(21.75% 0.0516 -0.0867)
OKLCHoklch(21.75% 0.101 300.8)
XYZxyz(1.6834, 0.8577, 4.9264)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230640 #234006
analogous
#060640 #230640 #400640
triadic
#230640 #402306 #064023
tetradic
#230640 #400606 #234006 #064040
square
#230640 #400606 #234006 #064040
split-complementary
#230640 #404006 #064006
monochromatic
#0F031C #0F031C #230640 #420B78 #6010B0

Accessibility & contrast

On white

17.92
#230640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230640
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230640#FFFFFF#000000##FFFFFF
##2306401.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230640;
/* rgb */ color: rgb(35, 6, 64);
/* oklch */ color: oklch(21.8% 0.101 300.8);
Tailwind
colors: {
  custom: {
    50: '#624975',
    500: '#230640',
    950: '#000000',
  },
}
SCSS
$custom: #230640;
$custom-light: #624975;
$custom-dark: #000000;
JSON
{
  "hex": "#230640",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 270,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21754,
    "c": 0.10089,
    "h": 300.8
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#230640
secondary
#518022
accent
#F92F94
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230640

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

Preview Lab → · Contrast checker → · Palette generator →

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