#230642#230642

#230642 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.103 H 299.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#230642
RGBrgb(35, 6, 66)
HSLhsl(269, 83%, 14%)
HSVhsv(269, 91%, 26%)
CMYKcmyk(47%, 90.9%, 0%, 74.1%)
CIE-LABlab(7.96, 28.55, -31.40)
CIE-LCHlch(7.96, 42.44, 312.27°)
OKLaboklab(21.97% 0.0508 -0.0899)
OKLCHoklch(21.97% 0.103 299.5)
XYZxyz(1.7414, 0.8809, 5.2315)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230642 #254206
analogous
#060742 #230642 #410642
triadic
#230642 #422306 #064223
tetradic
#230642 #420607 #254206 #064241
square
#230642 #420607 #254206 #064241
split-complementary
#230642 #424106 #074206
monochromatic
#0F031C #0F031C #230642 #410B7A #5F10B2

Accessibility & contrast

On white

17.85
#230642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230642
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230642#FFFFFF#000000##FFFFFF
##2306421.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001741
Tritanopia (blue-blind)
#1B1724
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230642;
/* rgb */ color: rgb(35, 6, 66);
/* oklch */ color: oklch(22.0% 0.103 299.5);
Tailwind
colors: {
  custom: {
    50: '#624a77',
    500: '#230642',
    950: '#000000',
  },
}
SCSS
$custom: #230642;
$custom-light: #624a77;
$custom-dark: #000000;
JSON
{
  "hex": "#230642",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 269,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21966,
    "c": 0.10324,
    "h": 299.5
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#230642
secondary
#538222
accent
#FA2E97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230642

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

Preview Lab → · Contrast checker → · Palette generator →

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