#230F3E#230F3E

#230F3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.085 H 299.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#230F3E
RGBrgb(35, 15, 62)
HSLhsl(266, 61%, 15%)
HSVhsv(266, 76%, 24%)
CMYKcmyk(43.5%, 75.8%, 0%, 75.7%)
CIE-LABlab(9.38, 22.23, -26.24)
CIE-LCHlch(9.38, 34.39, 310.27°)
OKLaboklab(22.85% 0.0414 -0.0748)
OKLCHoklch(22.85% 0.085 299)
XYZxyz(1.7332, 1.0468, 4.6672)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F3E #2A3E0F
analogous
#0F123E #230F3E #3A0F3E
triadic
#230F3E #3E230F #0F3E23
tetradic
#230F3E #3E0F12 #2A3E0F #0F3E3A
square
#230F3E #3E0F12 #2A3E0F #0F3E3A
split-complementary
#230F3E #3E3A0F #123E0F
monochromatic
#0E0619 #0E0619 #230F3E #3F1B6F #5B27A1

Accessibility & contrast

On white

17.36
#230F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F3E
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F3E#FFFFFF#000000##FFFFFF
##230F3E1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#1D1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230f3e;
/* rgb */ color: rgb(35, 15, 62);
/* oklch */ color: oklch(22.8% 0.085 299.0);
Tailwind
colors: {
  custom: {
    50: '#614f74',
    500: '#230f3e',
    950: '#000000',
  },
}
SCSS
$custom: #230f3e;
$custom-light: #614f74;
$custom-dark: #000000;
JSON
{
  "hex": "#230f3e",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 265.532,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22846,
    "c": 0.08549,
    "h": 299
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#230F3E
secondary
#5A7830
accent
#E444A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #230F3E

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

Preview Lab → · Contrast checker → · Palette generator →

#230F3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva