#23063F#23063F

#23063F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.100 H 301.4°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#23063F
RGBrgb(35, 6, 63)
HSLhsl(271, 83%, 14%)
HSVhsv(271, 90%, 25%)
CMYKcmyk(44.4%, 90.5%, 0%, 75.3%)
CIE-LABlab(7.65, 27.68, -29.77)
CIE-LCHlch(7.65, 40.65, 312.91°)
OKLaboklab(21.65% 0.052 -0.0851)
OKLCHoklch(21.65% 0.1 301.4)
XYZxyz(1.6552, 0.8464, 4.7778)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23063F #223F06
analogous
#06063F #23063F #3F063E
triadic
#23063F #3F2306 #063F23
tetradic
#23063F #3F0606 #223F06 #063E3F
square
#23063F #3F0606 #223F06 #063E3F
split-complementary
#23063F #3E3F06 #063F06
monochromatic
#10031C #10031C #23063F #420B77 #6111AF

Accessibility & contrast

On white

17.96
#23063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#23063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23063F
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23063F#FFFFFF#000000##FFFFFF
##23063F1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#1D1523
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #23063f;
/* rgb */ color: rgb(35, 6, 63);
/* oklch */ color: oklch(21.6% 0.100 301.4);
Tailwind
colors: {
  custom: {
    50: '#624975',
    500: '#23063f',
    950: '#000000',
  },
}
SCSS
$custom: #23063f;
$custom-light: #624975;
$custom-dark: #000000;
JSON
{
  "hex": "#23063f",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 270.526,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21649,
    "c": 0.09971,
    "h": 301.4
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#23063F
secondary
#507F22
accent
#F92F92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #23063F

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

Preview Lab → · Contrast checker → · Palette generator →

#23063F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva